-
Notifications
You must be signed in to change notification settings - Fork 3.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
feat(ServletAdapter): Ability remove context path when get method name #11825
base: master
Are you sure you want to change the base?
Conversation
don't understand why crash tests) error in test env? |
found error - |
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.
Left a minor comment.
…variable initialization
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.
Some more changes.
Refs: #5066
Complex application may have many
war
-s and do not allow monopolize root context path(/
). Add ability to remove context path(usual it'swar
name) from application server use@WebInitParam
or just overridegetInitParameter
for parameterGrpcServlet.REMOVE_CONTEXT_PATH
Usage example:
Links:
https://stackoverflow.com/a/42706412
https://coderanch.com/t/610432/certification/getContextPath-getServletPath-getPathInfo