This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet 2.2" Watch "Servlet 2.2" New topic

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 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

Joined: Mar 22, 2000
Posts: 13018
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.
author of:
It is sorta covered in the JavaRanch Style Guide.
subject: Servlet 2.2
It's not a secret anymore!