https://issues.apache.org/bugzilla/show_bug.cgi?id=54876
Bug ID: 54876
Summary: ServletContext.getServletContextName returns display
name.
Product: Tomcat 7
Version: 7.0.39
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Servlet & JSP API
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
I have a webapp with the following in web.xml:
<display-name>Diagnostics Portal Application</display-name>
As a consequence, ServletContext.getServletContextName() returns
"Diagnostics Portal Application",
which renders the method pretty useless.
IMO, the purpose of the method would be to allow various deployments of the
same
webapp to detect the different deployment names (aka context path). AFAICT,
there
is currently no supported possibility to detect the context path.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]