RE: Get tomcat version from webapp code?

2007-12-29 Thread Martin Gainty
is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Fri, 28 Dec 2007 22:15:52 -0500 From: [EMAIL PROTECTED] Subject: Re: Get tomcat version from webapp code? To: users

Re: Get tomcat version from webapp code?

2007-12-28 Thread David kerber
at MBeanServer? http://tomcat.apache.org/tomcat-5.5-doc/catalina/funcspecs/mbean-names.html M- - Original Message - From: David kerber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, December 27, 2007 11:53 AM Subject: Get tomcat version from webapp code? I

Re: Get tomcat version from webapp code?

2007-12-28 Thread Louis
David kerber wrote: Thanks for the response, but I've never dealt with that at all. Is there any sample code that would give me the equivalent of something like getServerProperty( version ), and return 5.5.15, or Apache Tomcat 5.5.15, or something similar? D In a JSP: %=

Re: Get tomcat version from webapp code?

2007-12-28 Thread David Kerber
Louis wrote: David kerber wrote: Thanks for the response, but I've never dealt with that at all. Is there any sample code that would give me the equivalent of something like getServerProperty( version ), and return 5.5.15, or Apache Tomcat 5.5.15, or something similar? D In a JSP: %=

Get tomcat version from webapp code?

2007-12-27 Thread David kerber
I know I can get the java version from system.properties, but is there a way of getting the tomcat version from inside my app? If so, how? I'd like to be able to display that on an administrator's information page. TIA! D

Re: Get tomcat version from webapp code?

2007-12-27 Thread Martin Gainty
version from webapp code? I know I can get the java version from system.properties, but is there a way of getting the tomcat version from inside my app? If so, how? I'd like to be able to display that on an administrator's information page. TIA! D

Re: Get tomcat version from webapp code?

2007-12-27 Thread Louis
David kerber wrote: I know I can get the java version from system.properties, but is there a way of getting the tomcat version from inside my app? If so, how? I'd like to be able to display that on an administrator's information page. TIA! D If you crack open the tomcat ROOT application