https://issues.apache.org/bugzilla/show_bug.cgi?id=52138

Mark Thomas <[email protected]> changed:

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

--- Comment #1 from Mark Thomas <[email protected]> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to