This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes redirect the request from a servlet to another resource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "redirect the request from a servlet to another resource " Watch "redirect the request from a servlet to another resource " New topic
Author

redirect the request from a servlet to another resource

Krupa Eng
Ranch Hand

Joined: Sep 05, 2003
Posts: 60
How can you redirect the request from a servlet to another resource if the servlet encounters an exception?
Why is this option wrong.
This can be done only if the exception is a subclass of
javax.servlet.ServletException

This is the question from JDiscuss.com


Krupa
Faisal Khan
Ranch Hand

Joined: Jun 29, 2003
Posts: 285
Can you pls post the full question as I did not understand the issue?


The secret to creativity is knowing how to hide your sources.
 
 
subject: redirect the request from a servlet to another resource
 
Similar Threads
forwards in struts
Exception Handling
Redirect the request
Request dispatcher
forward Vs redirect