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 context 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 context section of

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 context entry in server.xml). Is there any way of determining from within a servlet which one is actually running? ServletContext.getServletContextName() should do