If I want to ensure that Tomcat's built-in error page
(5.5.9+) is never used (and provide a custom replacement)
(for all apps in a server), is there a better way than
putting this sort of stuff in conf/web.xml?

 <error-page>
   <error-code>404</error-code>
   <location>/some/error/page.jsp</location>
 </error-page>

 <error-page>
   <exception-type>java.io.IOException</exception-type>
   <location>/some/error/page.jsp</location>
 </error-page>

and what error codes must I do this for?  Is there a
compact way of specifying *all* codes?

Is it a bad idea to define a page for java.lang.Throwable?

Paul Singleton


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.362 / Virus Database: 267.12.8/162 - Release Date: 5/Nov/2005


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to