Hello, I am using Tomcat 5.5.9 and I have found out that the errorPage directive is not working. I always get a HTTP 500 ERROR. I can solve the problem handling excpetion but I don't want to do it. I want to use the errorPage.jsp Looking into Google, I found out the following comment but I don't know understand how to solve the problem.
================================================ CAUSE: Unlike previous versions of tomcat; the version 5 returns error code 500 when returning error page (with directive isErrorPage="true". Internet explorer scans for returned error codes and when it seems error 500 it checks the length of the the error message and if it is not long enough (not sure of exact size) it replaces it with its own message (so called friendly message about error 500). Note that IE replaces messages only if option 'Show friendly error messages' is selected under tools->options->Adanced->browsing. SOLUTION: 1. Uncheck that friendly error message option; which is not desirable since can't control client browser: HOW CAN I DO IT? 2. Increase size of your error page; to tell IE that there is enough information in this error so please don't replace it. =================================================== Thanks for helping Elisabeth --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
