File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "No such method - getRequestDispatcher() ?" Watch "No such method - getRequestDispatcher() ?" New topic

No such method - getRequestDispatcher() ?

Bob Baker

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?
[ July 12, 2002: Message edited by: Bob Baker ]
Bob Baker

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

and it give me basically the same message.
I agree. Here's the link:
subject: No such method - getRequestDispatcher() ?
It's not a secret anymore!