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
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
Martin Gainty wrote:
Hi Dave-
did you look at
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:
%=
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:
%=
Hi Dave-
did you look 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
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