• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Unwrap Specific Exception in JSF?

 
gopinath chockalingam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to redirect to an error page if ant SystemException or Application Exception is thrown from any of my application.But jsf wraps it as a FacesException.Could anyone give a better solution for this?..and i have given an entry in web.xml like,

web.xml

<error-page>

<exception-type>no.lindorffd.common.exception.SystemException</exception-type>
<location>/faces/error.jsp</location>
</error-page>


As it is very urgent please reply immediately.......


Thanks & Regards,
Gopinath.C
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!