You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/08/12 10:56:39 UTC

DO NOT REPLY [Bug 11628] New: - web.xml parsing depends on order of appearance

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11628>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11628

web.xml parsing depends on order of appearance

           Summary: web.xml parsing depends on order of appearance
           Product: Tomcat 4
           Version: 4.1.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Stefan.Markgraf@steria.de


The web.xml file of the Web-Application is not parsed correctly. It depends on
the order of the tags.
If you have:

<servlet> ...App1 </servlet>
<servlet-mapping> ...App1 </servlet-mapping>
<servlet> ...App2 </servlet>
<servlet-mapping> ...App2 </servlet-mapping>

Catalina will complain about the second <servlet> tag.
If you have
<servlet> ...App1 </servlet>
<servlet> ...App2 </servlet>
<servlet-mapping> ...App1 </servlet-mapping>
<servlet-mapping> ...App2 </servlet-mapping>
everything is parsed without complains.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>