This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Forwarding ..
Similar Threads
Javascript code inside JSP (error in flushing)
Spring security intercept-url question
'The requested resource is not available' error
Servlet Response for AJAX