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

http://issues.apache.org/bugzilla/show_bug.cgi?id=38951

           Summary: internal tomcat handling interfere with webapps
           Product: Tomcat 5
           Version: 5.5.7
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


The way tomcat internally handle dispatching of some urls, like jsp and
ressources, by including $CATALINA_HOME/conf/web.xml, interfere with servlet
names available to webapps. The following names can not be used for a servlet in
a web.xml of a webapp:
default
jsp

eg. creating a web.xml with a servlet named 'default' end up with obscure
message from tomcat claiming this entry is already defined along with 2
stacktraces while, as i understand, default is a perfect valid servlet name
according to servlet specs.

Tomcat should clearly separate it's internal config (CATALINA/conf/web.xml) from
the webapp config to prevent this name conflicts. Whatever is in
CATALINA/conf/web.xml, this should not be taken into account when checking
webapp/WEB-INF/web.xml validity as webapp doesn't have to be aware of internal
server behaviour.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to