开发者

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

开发者 https://www.devze.com 2023-03-29 18:05 出处:网络
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 SpecialExce

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.Face开发者_开发技巧sException. How to solve this issue?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号