You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nagaraja Prakasam <Na...@Rossinc.com> on 2000/12/14 19:53:35 UTC

Finding Tomcat version

Hello All,
Our application uses Tomcat. When I install our application on the customer
system, I need to find out the Tomcat version. Do you guys know any standard
method to find out the Tomcat version by knowing TOMCAT_HOME. 

Thanks,
-Naga

Re: Finding Tomcat version

Posted by Sean Kroah <se...@wirex.com>.
Nagaraja Prakasam wrote:

The best way

getServletContext.getServerInfo();

Or look at the Tomcat Admin web page.

SKroah

> Hello All,
> Our application uses Tomcat. When I install our application on the customer
> system, I need to find out the Tomcat version. Do you guys know any standard
> method to find out the Tomcat version by knowing TOMCAT_HOME.
>
> Thanks,
> -Naga

--
Sean Kroah                                T:503.222.9660
                                          F:503.241.5682
WireX Communications, Inc.
Software Engineer,                        skroah@wirex.com



Re: Finding Tomcat version

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Nagaraja Prakasam wrote:

> Hello All,
> Our application uses Tomcat. When I install our application on the customer
> system, I need to find out the Tomcat version. Do you guys know any standard
> method to find out the Tomcat version by knowing TOMCAT_HOME.
>

If you know TOMCAT_HOME, check the contents of page "webapps/ROOT/index.html" --
the <title> element self-describes what version you are running.

Also, you can ask programmatically by calling ServletContext.getServerInfo().

>
> Thanks,
> -Naga

Craig McClanahan