This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 12671
    
    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:


Java Resources at www.wbrogden.com
 
Don't get me started about those stupid light bulbs.
 
subject: Servlet 2.2
 
Similar Threads
Servlet API
Javadocs Servlet 2.4
servlet API
Help Please
global.jsa