On 8/9/06, Kohn, Robert M. <[EMAIL PROTECTED]> wrote:
I have two web apps that are identical except for their root directory
(and <context> entry in server.xml).
Is there any way of determining from within a servlet which one is
actually running?

ServletContext.getServletContextName() should do it, eh?

--
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to