If tomcat is running, the easiest way to find the version
is to get a directory listing (ie ask for any directory name
where there isn't an index file), and look at the bottom
for the server version.

> -----Original Message-----
> From: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, December 14, 2000 8:57 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Finding Tomcat version
> 
> 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
> 

Reply via email to