error-page not catching errors? Tomcat 4.1.31

2005-05-26 Thread David Johnson
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

Re: error-page not catching errors? Tomcat 4.1.31

2005-05-26 Thread Jon Wingfield
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