]
RH Bugzilla Integration updated JBMETA-385:
-------------------------------------------
Bugzilla Update: Perform
Bugzilla References:
Add overridable flag to servlet metadata
----------------------------------------
Key: JBMETA-385
URL:
https://issues.jboss.org/browse/JBMETA-385
Project: JBoss Metadata
Issue Type: Enhancement
Components: web
Affects Versions: 7.2.1.Final
Reporter: James Livingston
Assignee: Jean-Frederic Clere
To resolve
https://bugzilla.redhat.com/show_bug.cgi?id=1094248, I believe we need an
additional 'overridable' flag on the servlet metadata which indicates whether
ServletContainerInitializers (and other code using servlet dynamic registration) should be
allowed to override the servlet. Normally this is not allowed, however JBWeb's
internal use of DefaultServlet to handle static resources should be.
This only needs to go into 7, since the Undertow subsystem in Wildfly handles this quite
differently, so does not need to pass a flag between components.