aspose file tools
The moose likes JSF and the fly likes Redirecting to different pages based on exception type in JSF1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Redirecting to different pages based on exception type in JSF1.2" Watch "Redirecting to different pages based on exception type in JSF1.2" New topic
Author

Redirecting to different pages based on exception type in JSF1.2

Ajeeth Kumar
Ranch Hand

Joined: Mar 30, 2005
Posts: 56
I am trying to show to a special error page for only one of the JSF pages in my application.
I tried to throw SpecialException from all the BB methods and entered a error-page mapping with SpecialException entry in web.xml.

Still whenever an error occurs, I am redirected to commonerror.xhtml which is associated with javax.faces.FacesException.
How to solve this issue?
Ajeeth Kumar
Ranch Hand

Joined: Mar 30, 2005
Posts: 56
Buddies, looking for a quick answer... many of you might have come across this problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Redirecting to different pages based on exception type in JSF1.2
 
Similar Threads
Why isn't configuration being activated when an error page is rendered?
JSF : redirect errors to error page
Refreshing the page after a 500 error
Excpetion propagation using Java reflection API
Tomcat cant recognize "error-page" tag in web.xml