facebook

web.xml improperly edited by "Add Struts Capabilities..

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #201122 Reply

    M. Crosier
    Member

    I am using:
    WindowsXP Professional
    Eclipse 2.1.2 build ID 200311030802 (Fresh install)
    ME 2.7 RC1,
    J2SDK 1.4.2.

    I originally created a web module project, and created a JSP file and a servlet. I then used the “Add Struts Capabilities…” menu item. This added the struts actionservlet mapping to my web.xml, but it did not conform to the DTD for the web.xml file.

    My web.xml had this before the struts addition:
    <web-app>
    <servlet>

    </servlet>
    <servlet-mapping>

    </servlet-mapping>
    </web-app>

    After the struts addition:
    <web-app>
    <servlet>

    </servlet>
    <servlet-mapping>

    </servlet-mapping>
    <servlet>
    … struts servlet added…
    </servlet>
    <servlet-mapping>
    … struts servlet mapping added…
    </servlet-mapping>
    </web-app>

    The struts servlet should have been added after the existing <servlet>, athe struts servlet mapping should have gone after the existing <servlet-mapping>

    Thanks.

    -Matt

    #201157 Reply

    support-michael
    Keymaster

    Matt,

    I have entered an issue report on this behavior.

    Michael
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: web.xml improperly edited by "Add Struts Capabilities..

You must be logged in to post in the forum log in