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?


______________________________ Reply Separator _________________________________
Subject: Re: JSDK version?
Author:  cmcclanahan ([EMAIL PROTECTED]) at wich-unix-mime
Date:    4/27/99 10:04 AM


Jaman Burton wrote:

>      All,
>
>         Is there an easy way to decipher what version of JSDK is currently
>      running on a Unix machine?
>
>      Thanks,
>
>      Jaman
>

In 2.1, the ServletContext.getMajorVersion() and
ServletContext.getMinorVersion() methods were added to return this sort of
information.  Trying to use these calls won't compile in earlier versions,
which is one way to tell, I suppose ...

Craig McClanahan

___________________________________________________________________________
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

___________________________________________________________________________
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

Reply via email to