Hey Ricky, Struggling with similar issues to you, but might be able to help here. Your
<exception-type>CompileException</exception-type> should contain a fully qualified class name. I have the redirection working in Tomcat 4.0.2 with this. I would also suggest checking the %CATALINA_HOME%/logs/<severname>_log<date>.txt log file, it usually has more info if the redirection is failing. Cheers Drew -----Original Message----- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 2:30 PM To: Tomcat Users List Subject: error-page tag in web.xml I have the following in my web.xml and if I bring up a non-existent page, Tomcat4 correctly parses and presents the er404.jsp page, however, I have not been able to get the 500 and the exception ones working. I always get the Tomcat Error report with the dreaded 500 - Internal Server Error. Any ideas? <servlet-mapping> <servlet-name>StoreServlet</servlet-name> <url-pattern>/store</url-pattern> </servlet-mapping> <error-page> <exception-type>CompileException</exception-type> <location>/error/er500.jsp</location> </error-page> <error-page> <error-code>404</error-code> <location>/error/er404.jsp</location> </error-page> <error-page> <error-code>500</error-code> <location>/error/er500.jsp</location> </error-page> Thanks, Ricky -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
