wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android forum!
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: 169
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: 169
Thank you Sir Duncan, till next time.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Compile Error of servlets
 
Similar Threads
javax\servlet
Servlet compile problems
servlet compiling
servlets compilation
package javax.servlet.* not found