You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Carlos de la Flor <li...@lpis.com> on 2001/03/01 22:30:39 UTC
default error page
can anybody says me how can i configure a default error page?
if in my pages there is any error i want to show a error page, my error
page.
is thios posible?
how can i make it?
thanks
Carlos
Re: default error page
Posted by "Brett W. McCoy" <bm...@chapelperilous.net>.
On Thu, 1 Mar 2001, Carlos de la Flor wrote:
> can anybody says me how can i configure a default error page?
> if in my pages there is any error i want to show a error page, my error
> page.
> is thios posible?
> how can i make it?
In your web.xml file for you r application, you will want to have
something like this:
<error-page>
<error-code>404</error-code>
<location>/404.html</location>
</error-page>
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Youth is a blunder, manhood a struggle, old age a regret.
-- Benjamin Disraeli, "Coningsby"