You should check tomcat's logs to see if there are any warnings. The
last error-page def'n is invalid. It should be:
error-page
exception-typejava.lang.Exception/exception-type
location/error.jsp/location
/error-page
Maybe tomcat is ignoring all the error-page definitions due to the
parsing error.
Jon
David Johnson wrote:
Hi all
I've added the following to my web.xml (thanks for the help)
error-page
error-code500/error-code
location/error.jsp/location
/error-page
error-page
error-code404/error-code
location/error.jsp/location
/error-page
error-page
error-codejava.lang.Exception/error-code
location/error.jsp/location
/error-page
the problem is when I cause an error (like stopping the database then
trying to hit it or reloading a page that should cause an error 500), I'm
not seeing my error page.
am I forgetting something?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]