On Mon, 30 Apr 2001, Mark Simms wrote:

> Does anyone know if the string returned from this method has been
> parseable to obtain the Server Vendor, version, and servlet/jsp
> version supported ?
> 
> I have a parse method for Tomcat, but not sure if it will work with
> BEA Weblogic or IBM Websphere detection.....
> 
> Are all of the app server vendors following the same format ?
> 
> 

I wouldn't count on anything for this method, but you can use
getMajorVersion() and getMinorVersion() to determine the servlet spec that
is supported.  For example, Tomcat 4.0 returns 2 and 3, respectively,
because it supports 2.3.

Craig


Reply via email to