Hi,

I want to use the servlet containers default <error-page> mechanism in 
web.xml. I turned off both, MyFaces and Facelets error handling.
When I simulate an uncatched exception from a backing bean, I always get 
the MyFaces error page and not my own. What goes wrong?

I'm using MyFaces 1.2.5 and Facelets 1.1.14

The web.xml looks like this:

<context-param>
        <param-name>org.apache.myfaces.ERROR_HANDLING</param-name>
        <param-value>false</param-value>
</context-param>
 
<context-param>
        <param-name>facelets.DEVELOPMENT</param-name>
        <param-value>false</param-value>
</context-param>
 
<error-page>
        <exception-type>java.lang.Exception</exception-type>
        <location>/ErrorHandling/globalerror.jsf</location>
</error-page>

TIA
Harald


This message and any attachment ("the Message") are confidential. If you have 
received the Message in error, please notify the sender immediately and delete 
the Message from your system, any use of the Message is forbidden.
Correspondence via e-mail is primarily for information purposes. RZB neither 
makes nor accepts legally binding statements via e-mail unless otherwise agreed 
to the contrary.
Information pursuant to ยง 14 Austrian Companies Code: Raiffeisen Zentralbank 
Oesterreich AG; Registered Office: Am Stadtpark 9, A-1030 Vienna; Company 
Register Number: FN 58882t at the Commercial Court of Vienna.

Reply via email to