Get non-ROOT applications to return for getContextPath?

2006-11-16 Thread Eric Jain
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

Re: Get non-ROOT applications to return for getContextPath?

2006-11-16 Thread David Smith
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