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 JSF and the fly likes Redirecting to different pages based on exception type in JSF1.2 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 » Java » JSF
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.
 
 
subject: Redirecting to different pages based on exception type in JSF1.2
 
Similar Threads
JSF : redirect errors to error page
Tomcat cant recognize "error-page" tag in web.xml
Excpetion propagation using Java reflection API
Why isn't configuration being activated when an error page is rendered?
Refreshing the page after a 500 error