This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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