I'm using JSF2 and Glassfish 3.0.
I have a very simple application and I'm trying to set up some default error pages for 404
and 500
error.
This is the WEB.XML
section:
<error-page>
<exception-type>404</exception-type>
<location>/error.xhtml</location>
</error-page>
<error-page>
<exception-type>500</exception-type>
<location>/error.xhtml</location>
</error-page>
Even though error.xhtml exists, In the browser I still get the standard HTTP Status 404 -
warning.