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