Hi Julian,
Can you give me the link of dicussion this problem?
That will be nice If any example I can read.
Thanks.
On 5/26/06, Julian Ray <[EMAIL PROTECTED]> wrote:
This is in our web.xml
<error-page>
<error-code>500</error-code>
<location>/ErrorDisplay.jsf</location>
</error-page>
But there is a bug in the JSF framework which requires the error page to use
a f:subview rather than a f;view tag. There is a good discussion on this in
the MyFaces book.
-----Original Message-----
From: Anthony Hong [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 9:38 PM
To: MyFaces Discussion
Subject: How to redirect to an error page when JSF page failed
In jsp with servlet, I define error page configuration in web.xml to
redirect to an error page when error occured.
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/errorpages/error500.jsp</location>
</error-page>
But in JSF page, it doesn't work. How should I configurate?
--
Anthony Hong
--
Anthony Hong