File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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...
... 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.
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 364
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

Joined: Mar 22, 2000
Posts: 13036
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.
I agree. Here's the link:
subject: Compile Error of servlets
It's not a secret anymore!