Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in forward(request,response)

 
ChakraPani Margani
Greenhorn
Posts: 21
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic