trap "404" & "405" in web.xml <error-page> <error-code>404</error-code> <location>404.jsp</location> </error-page>
-----Original Message----- From: Darryl L. Pierce [mailto:mcpierce@;TELOCITY.COM] Sent: Monday, October 28, 2002 11:53 AM To: [EMAIL PROTECTED] Subject: Redirecting all bad requests to a single page Is there a way, in Tomcat, to redirect all invalid requests to a single URL? What I want to do is force any request that's not understood by Tomcat (which is embedded in my application) to go to the default page, rather than displaying the Tomcat-specific error message that normally shows. Is this possible and, if so, how? -- Darryl L. Pierce <[EMAIL PROTECTED]> Visit the Infobahn Offramp - <http://welcome.to/mcpierce> "What do you care what other people think, Mr. Feynman?" ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html