Re: Dynamically Determining the Web App

2006-08-09 Thread Hassan Schroeder
On 8/9/06, Kohn, Robert M. <[EMAIL PROTECTED]> wrote: I have two web apps that are identical except for their root directory (and 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?

Dynamically Determining the Web App

2006-08-09 Thread Kohn, Robert M.
Dear Friends, I have two web apps that are identical except for their root directory (and entry in server.xml). Is there any way of determining from within a servlet which one is actually running? Or, alternatively, is there a way of retrieving values from the section of server.xml for the corre