> From: Nathan Potter [mailto:n...@opendap.org]
> Subject: Re: Tomcat returns HTTP status of 200 when
> HttpServletResponse.sendError() called.
>
> But how do I serve them without a servlet to do it?

You don't have to serve them - Tomcat's DefaultServlet does it for you, just as 
it does for all static resources.

> How do I set the value of the location element in the
> error page declaration:
> So that tomcat will grab a static HTML page from disk?

You normally would put static error pages in a separate directory, so that they 
will not be processed by any of your servlets.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to