You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by hans albers <su...@hotmail.com> on 2002/12/19 08:24:05 UTC
custom error 500 page for missing applications
What do I have to do to set up a custom error page
for http status error 500?
I want to the user that there's no application in this context.
(Tomcat 4.1.x)
Thanks for your help,
Hans
_________________________________________________________________
Fotos - MSN Fotos das virtuelle Fotoalbum. Allen Freunden zeigen oder
einfach ausdrucken: http://photos.msn.de/support/worldwide.aspx
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: custom error 500 page for missing applications
Posted by Rasputin <ra...@idoru.mine.nu>.
* Galbayar Dorjgotov <ga...@mobinet.mn> [1248 08:48]:
> <error-page>
> <error-code>500</error-code>
> <location>/errors/500.html</location>
> </error-page>
>
> add this lines to the web.xml
Yeah, you'd think so, wouldn't you? But have you tried this?
I had trouble with this on 4.1.12. I think 500s might be a special case,
because they mean your servlet died.
Might be worth trying
<error-page>
<exception-type>your.Exception</exception-type>
<location>/500.jsp</location>
</error-page>
--
Rasputin :: Jack of All Trades - Master of Nuns
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: custom error 500 page for missing applications
Posted by Galbayar Dorjgotov <ga...@mobinet.mn>.
<error-page>
<error-code>500</error-code>
<location>/errors/500.html</location>
</error-page>
add this lines to the web.xml
-----Original Message-----
From: hans albers [mailto:super4711@hotmail.com]
Sent: Thursday, December 19, 2002 3:24 PM
To: tomcat-user@jakarta.apache.org
Subject: custom error 500 page for missing applications
What do I have to do to set up a custom error page
for http status error 500?
I want to the user that there's no application in this context.
(Tomcat 4.1.x)
Thanks for your help,
Hans
_________________________________________________________________
Fotos - MSN Fotos das virtuelle Fotoalbum. Allen Freunden zeigen oder
einfach ausdrucken: http://photos.msn.de/support/worldwide.aspx
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>