aspose file tools*
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 Java 8 in Action this week in the Java 8 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: redirect the request from a servlet to another resource
 
Similar Threads
Exception Handling
Redirect the request
Request dispatcher
forward Vs redirect
forwards in struts