, ,

The exact version number of a Tomcat 6 server is stored in the ServerInfo.properties file that is located in $TOMCAT_HOME/lib/catalina.jar/org/apache/catalina/util. This file can be found in $TOMCAT_HOME/server/lib/catalina.jar/org/apache/catalina/util in case of Tomcat 5.5 and earlier.

The getServerInfo() method can be used when there is a need to determine the version numbers from inside the web application.