Jaman Burton wrote:
> Since 2.1 was just released, it is a pretty safe bet that that version
> isn't installed on our system yet. But how do I confirm which
> released version is installed?
>
The following trial and error approach is based on when a couple of key features
were added to the API:
Try to compile a servlet that references ServletContext.getMajorVersion(). If this
compiles OK, you have 2.1. If not, continue.
Try to compile a servlet that references javax.servlet.http.HttpSession. If this
compiles OK, you have 2.0. If not, you probably have a 1.0 compatible version.
Craig
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html