[Geoserver-devel] [jira] Created: (GEOS-2344) Fix web.xml duplication (and add web.xml validation)

Fix web.xml duplication (and add web.xml validation)
----------------------------------------------------

                 Key: GEOS-2344
                 URL: http://jira.codehaus.org/browse/GEOS-2344
             Project: GeoServer
          Issue Type: New Feature
          Components: Global
    Affects Versions: 1.7.0
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.7.1

web.xml contains the following declaration twice:

{code}
<servlet-mapping>
   <servlet-name>dispatcher</servlet-name>
   <url-pattern>/rest/*</url-pattern>
  </servlet-mapping>
{code}

While you're at it, if possible, add a test for validating the web.xml compliance to the DTD (won't catch the above error, but it's not the first time WL is refusing to use our config because of minor errors)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira