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