Is it possible to trick an application into believing that it is the ROOT
application (i.e. getContextPath returns ), even when it isn't?
The reason for this is that managing virtual hosts with Tomcat can be a bit
cumbersome, and some management applications won't work in such a setup.
The
You could implement a filter that passes on a request wrapper. Then
just override the getContextPath() method to return .
Eric Jain wrote:
Is it possible to trick an application into believing that it is the
ROOT application (i.e. getContextPath returns ), even when it isn't?
The reason for