<error-page> in web.xml doesn't work
Hi There,
In my webcenter portal application, I want to redirect all the exceptions to a static error page. I have created a static error page as errorPage.html and then I modified the web.xml as follows.
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/faces/oracle/webcenter/portalapp/pages/errorPage.html</location>
</error-page>
I created a test.jspx page to throw an null pointer exception. I am able to see the exception, but error page redirection is not working.
Please suggest if any step I missed to configure the error page in web.xml.
Thanks,
Srinivas