This might not match this forum, but I'll try anyway:
We're using
JSF techn. running on
Tomcat 5.5.
We're trying to create a custom error page, which should be quite simple, but it simply doesn't work.
In the web.xml I have this:
<error-page>
<error-code>500</error-code>
<location>/server_error.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/file_not_found.jsp</location>
</error-page>
When I force a e.g. 500 error these line are probably read. It does no longer show the internal Tomcat 500 error, but now insted just the IE 500 error. It doesn't seem to find the server_error.jsp which is in the root of the webdir. I have tried with an absolutepath, i.e. /webapp/server_error.jsp, but with no help.
Does anyone have any idea about this? I have tried to move the bit of code around in the web.xml, but with no help.
Any other way to display such errors?
Thanks