How to get name of Engine a servlet is running in?

2005-09-02 Thread Joe Reger, Jr.
I'm trying to gain access to the name of the Engine that a servlet is running in. In most cases this will be Catalina as configured in the /conf/server.xml file. But when another Engine is configured, say CatalinaTesting, I need to get that name instead. I've tried to navigate the methods and

RE: How to get name of Engine a servlet is running in?

2005-09-02 Thread Raghupathy,Gurumoorthy
What yo uare doing is a very tomcat specifi thingy ... Use JNDI variable to do things ... http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html Regards Guru -Original Message- From: Joe Reger, Jr. [mailto:[EMAIL PROTECTED] Sent: 02 September 2005 15:26 To: