Ensure jetty api servlets/filters take precedence over webdefault.xml
declarations.
#10661
Labels
Bug
For general bugs on Jetty side
webdefault.xml
declarations.
#10661
Jetty version(s)
12.0.x
Jetty Environment
ee8, ee9, ee10
During the investigations for #10652 it was discovered that a
DefaultServlet
andJettyJspServlet
- defined and mapped to/
and*.jsp
respectively via the jetty api - lead to duplicate mappings when combined with the declarations inwebdefault.xml
.For example, given the jetty code:
and the contents of
webdefault.xml
being:the result is 2 different
DefaultServlet
instances both mapped to/
and 2 different jsp servlets, both mapped to*.jsp
:The text was updated successfully, but these errors were encountered: