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 Compile Error of servlets 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 "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: 13018
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.
It is sorta covered in the JavaRanch Style Guide.
subject: Compile Error of servlets
It's not a secret anymore!