tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=52138

Mark Thomas <markt@apache.org> changed:

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

--- Comment #1 from Mark Thomas <markt@apache.org> 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message