This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Servlets and the fly likes Proper technique for forwarding servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Proper technique for forwarding servlets" Watch "Proper technique for forwarding servlets" New topic

Proper technique for forwarding servlets

Darryl Failla
Ranch Hand

Joined: Oct 16, 2001
Posts: 129
What is the proper technique for a controller servlet to forward to another servlet? For example, in servlet A:
if(x == y)
forward to servlet B
forward to servlet C

Darryl Failla
Sun Certified Java 2 Programmer
Thambi Rajah
Ranch Hand

Joined: Jul 19, 2002
Posts: 36
The following code may be helpful to your question.

Good Luck,
I agree. Here's the link:
subject: Proper technique for forwarding servlets
jQuery in Action, 3rd edition