You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Joe Weeden <jw...@dataconnection.com> on 2003/03/05 21:30:15 UTC

How to determine Tomcat version

Hi,

Is there a way to programmatically identify which version of Tomcat you have
installed?  

I originally just checked the header in the RELEASE-NOTES file, but this
file does not exist in all Tomcat versions.

Thanks,
Joe






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How to determine Tomcat version

Posted by Steven Shand <st...@intrallect.com>.
Hi,

a call to getServerInfo() on the ServletContext should provide you with 
what you want..

Steven Shand

On Wednesday, March 5, 2003, at 08:30  pm, Joe Weeden wrote:

> Hi,
>
> Is there a way to programmatically identify which version of Tomcat 
> you have
> installed?
>
> I originally just checked the header in the RELEASE-NOTES file, but 
> this
> file does not exist in all Tomcat versions.
>
> Thanks,
> Joe
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org