This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Proper technique for forwarding servlets" Watch "Proper technique for forwarding servlets" New topic
Author

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
else
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,
Thambi
 
jQuery in Action, 2nd edition
 
subject: Proper technique for forwarding servlets