File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in forward(request,response)

 
ChakraPani Margani
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working in RAD 7.0.
In my servlet I am using

getServletConfig().getServletContext().getRequestDiapatcher("abc.jsp").forward(request,response);

My problem is servlet executed with remaining lines even I call the above forward method...

I want to forward to some Jsp at the starting of servlet based on some condition..

But servlet is totally executed even I call this forward at the starting...

Can anybody help me to solve the above problem..

Regards,
ChakraPani.M
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic