aspose file tools
The moose likes Servlets and the fly likes Forwarding .. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Servlets
Bookmark "Forwarding .." Watch "Forwarding .." New topic

Forwarding ..

Chuck Meduri
Ranch Hand

Joined: Nov 29, 2000
Posts: 48
I am trying to forward the processed dataa from a servlet to a JSP for presentation purpose and keep coming up with errors.
The code that I am using is given below:
String url = "some JSP page";
RequestDispatcher x = getServletContext().getRequestDispatcher(url);
x.forward(request, response);
Can anybody help me suggest me the reason for the error page coming up?
I would also be thankful if you can suggest me other ways to acheive the forwarding.
Thank you very much in advance.
khudiram Barik

Joined: Feb 12, 2001
Posts: 17
Can you please explain the eroor your are getting ? Paste your complete code for which you are getting error.
I agree. Here's the link:
subject: Forwarding ..