You might want to take a look at http://www.experts-exchange.com/Web/Application_Servers/Q_20654602.html
it seems to include several ways to override error pages. A friend has done custom error pages for his own webapps, but never tried to override every error page. -----Original Message----- From: Raymond [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 9:54 AM To: Tomcat Users Subject: error-page not working for error-code 503? Hi, I have these in my tomcat server's global web.xml file: <error-page> <error-code>404</error-code> <location>/http404.jsp</location> </error-page> <error-page> <error-code>503</error-code> <location>/maintenance.html</location> </error-page> It works for the 404 but not the 503 error code. What's wrong with it? I want to redirect users to a "maintenance in progress" page when I "stop" any webapp with the tomcat manager. But it always gives me the default tomcat HTTP status page when I request a stopped webapp. Please help. Thanks. Raymond --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
