Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Servlets and the fly likes No such method - getRequestDispatcher() ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "No such method - getRequestDispatcher() ?" Watch "No such method - getRequestDispatcher() ?" New topic
Author

No such method - getRequestDispatcher() ?

Bob Baker
Greenhorn

Joined: Mar 22, 2002
Posts: 7
I am writing a servlet using JSDK 2.0. I have use dit before, and never had a problem with this before, but I am getting the following exception:

and my code looks like this:

This code works great in JDeveloper, but does not work when using the JSDK downloaded from Sun.
Any ideas what the problem is?
Bob
[ July 12, 2002: Message edited by: Bob Baker ]
Bob Baker
Greenhorn

Joined: Mar 22, 2002
Posts: 7
I have also tried the following:

and it give me basically the same message.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: No such method - getRequestDispatcher() ?