*
The moose likes Servlets and the fly likes Compile Error of servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Compile Error of servlets" Watch "Compile Error of servlets" New topic
Author

Compile Error of servlets

Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 170
Im eyeing for SCWCD exam this year, and I'm doing my exercises and review when I just encounter a problem...
I have jsdk.jar dated 4/21/98 and I'm using that to compile my servlets. But when I have this class in my program...
RequestDispatcher
... it can't compile anymore, it is looking for that class.
Is there any new jsdk.jar available? Can anyone help me. Thanks and I appreciate you.
Nelson
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
The interface javax.servlet.RequestDispatcher can be found in the j2ee.jar file. You can go here and get it:
Sun/java site


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 170
Thank you Sir Duncan, till next time.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
jsdk.jar dated 4/21/98

Yow! that is about 3 API generations out of date. You better get a current one and be sure to remove old versions from your system.
For SCWCD you can use the latest Tomcat.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Compile Error of servlets