Re: Custom error pages from servlets?

2001-02-08 Thread Kief Morris
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

Custom error pages from servlets?

2001-02-07 Thread Les Hartzman
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.

Re: Custom error pages from servlets?

2001-02-07 Thread Pete Ehli
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