-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jetty 12.1.x jetty ee web xml #11746
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couple of niggles.
Also, I think we need to ponder what to do with jetty-web.xml files? Warn if we find them? Perhaps warn if there is another jetty-eeX-web.xml that doesn't match?
Or maybe we make a EeContextHandler
class that sits between the EEX impls and ContextHandler and warn only if a jetty-web.xml contains anything but the configuration for that common subclass.
Eitherway, this is good enough for us to commit to 12.1.x and get on with updating the demos to use it.
...tty-ee10-webapp/src/test/resources/webapp-with-jetty-ee10-web-xml/WEB-INF/jetty-ee10-web.xml
Outdated
Show resolved
Hide resolved
...10/jetty-ee10-webapp/src/test/resources/webapp-with-jetty-ee10-web-xml/WEB-INF/jetty-web.xml
Outdated
Show resolved
Hide resolved
jetty-ee10/jetty-ee10-webapp/src/test/resources/webapp-with-jetty-web-xml/WEB-INF/jetty-web.xml
Outdated
Show resolved
Hide resolved
* Resolve jetty-eeX-web.xml before jetty-web.xml
* Jetty 12.0.x jetty ee web xml (PR #11746) * Resolve jetty-eeX-web.xml before jetty-web.xml * Support jetty-eeX-env.xml, as per jetty-eeX-web.xml * Support jetty-eeX-env.xml, as per jetty-eeX-web.xml --------- Co-authored-by: Greg Wilkins <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EeContextHandler
Check for a
WEB-INF/jetty-eeX-web.xml
before checking forWEB-INF/jetty-web.xml
.