Howdy,
Seeing how a JSP is a servlet, I'd be very surprised if there was
something you could do with JSPs and not with a servlet ;)

Use the <error-page> directive in web.xml ;)  The Servlet Spec section
on the deployment descriptor has details and examples.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: James Michelich [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 15, 2003 1:00 PM
>To: [EMAIL PROTECTED]
>Subject: Setting error page for servlets
>
>Is there a way to set the error page for a servlet (i.e. something
>comparable to using the page directive with 'errorPage=error.jsp' in
>jsp's)?
>
>Thanks,
>
>James
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to