Hi Gilles,

thank you for your reply. It works.

Thank you very much.



Gilles Demarty wrote:
Hello Hannes,

I've successfully created an error page when an http error (e g. 404)
occurs. But when an exception will be raised, I only see the standard
myFaces error page. Do I miss something in the web.xml definitions.



You have to add into your web.xml
<context-param>
    <param-name>org.apache.myfaces.ERROR_HANDLING</param-name>
    <param-value>false</param-value>
</context-param>

and if you are using facelets :
<context-param>
    <param-name>facelets.DEVELOPMENT</param-name>
    <param-value>false</param-value>
</context-param>

refer to page http://wiki.apache.org/myfaces/Handling_Server_Errors
for more information

Reply via email to