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 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.  But is final
granularity
> possible based on some servlet action?
>
> Thanks.
>
> Les
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


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

Reply via email to