Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ajeeth Kumar
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Buddies, looking for a quick answer... many of you might have come across this problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic