wood burning stoves 2.0*
The moose likes Servlets and the fly likes Servlet 2.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet 2.2" Watch "Servlet 2.2" New topic
Author

Servlet 2.2

Savio Mascarenhas
Ranch Hand

Joined: Nov 29, 2000
Posts: 108
Hi Guy's !!!
The original version on the system is JSDK2.0.
Have downloaded the class files for JSDK2.2. from http://java.sun.com/products/servlet/download.html and set the classpath for the same in autoexec.bat file and placed it in the folder c:\jsdk2,0\lib\servlet.jar .That is the in the same sub-folder in which jsdk.jar was originally placed on installation of jsdk2.0.
The servlet file uses methods from servlet 2.2 api which gets compiled.However,on execution it throws a NoSuchMethod error on methods that form part of the servlet 2.2 api .
Which are the additional settings that need to be done ?
Thanks Guy's !!!
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
I don't think it is possible to mix classes from the earlier servlet API with the latest one. There are just too many changes.
You should make a complete break from the old JSDK - Sun doesn't support it anyway.
Bill
------------------
author of:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet 2.2