• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forwarding ..

 
Chuck Meduri
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Chuck
 
khudiram Barik
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please explain the eroor your are getting ? Paste your complete code for which you are getting error.
Thanks.
Khudi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic