jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Doubt in forward(request,response) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Doubt in forward(request,response)" Watch "Doubt in forward(request,response)" New topic

Doubt in forward(request,response)

ChakraPani Margani

Joined: Aug 19, 2007
Posts: 17
I am working in RAD 7.0.
In my servlet I am using


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..

David O'Meara

Joined: Mar 06, 2001
Posts: 13459

I agree. Here's the link: http://aspose.com/file-tools
subject: Doubt in forward(request,response)
It's not a secret anymore!