Les Hartzman typed the following on 04:36 PM 2/7/2001 -0800
Using Tomcat 3.2.1, is it possible to define/display custom error pages
based on errors that occur within a servlet? No JSPs are used; this is a
servlet/EJB environment.
I've seen in the spec for web.xml that there is an error-page
Using Tomcat 3.2.1, is it possible to define/display custom error pages
based on errors that occur within a servlet? No JSPs are used; this is a
servlet/EJB environment.
I've seen in the spec for web.xml that there is an error-page element for
either a general error code or an exception type.
catch try blocks - out.println(Your custom error message!);
-- Pete --
- Original Message -
From: "Les Hartzman" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 07, 2001 4:36 PM
Subject: Custom error pages from servlets?
Using Tomcat 3.2.1, is it possible