tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52138] global web.xml servlet-mappings are not used when additional mappings are defined in app web.xml
Date Fri, 04 Nov 2011 19:33:10 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Mark Thomas <> 2011-11-04 19:33:10 UTC ---
The current behaviour is by design.

The Servlet specification doesn't cover global defaults but Tomcat's behaviour
is line with the rest of the Servlet specification.

For example, if mappings are provided for a Servlet in annotations and in the
main web.xml they are not additive. Only the ones from the main web.xml are
used. The full precedence order is:
main web.xml > fragments > annotations > defaults

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message