Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Proper technique for forwarding servlets

 
Darryl Failla
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Thambi Rajah
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following code may be helpful to your question.

Good Luck,
Thambi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic