It's not a secret anymore!
The moose likes Servlets and the fly likes getRequestDispatcher method 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 "getRequestDispatcher method" Watch "getRequestDispatcher method" New topic

getRequestDispatcher method

Debanjana Dasgupta
Ranch Hand

Joined: Aug 11, 2000
Posts: 101
I wanted to use this getRequestDispatcher method in the form
getServletContext.getRequestDispatcher("some jsp file") to transfer control to a jsp from a servlet.
But this is available only in version 2.1
I am using SDK 2.0, and JavaWebServer.
Any idea about how to do it in this environment?
and also I could not find where to download SDK2.1
Can anyone help please?

Thanks<br /> <br />Debanjana<br /> <br />SCJP2<br />SCEA
Matthew X. Brown
Ranch Hand

Joined: Nov 08, 2000
Posts: 165
You can get the development kit at
for version 2.1
I agree. Here's the link:
subject: getRequestDispatcher method
It's not a secret anymore!