Ok,
What I understand from the faq
(http://www.jguru.com/faq/view.jsp?EID=318806):
In your web.xml file (the one in your .war file).
note: ensure that the directory WEB-INF once unzipped is spelled as this,
I mean with the correct case (not Web-inf nor web-inf)
If you are under Windows, launch a consol to test it with the dir
command.
<error-page>
<error-code>404</error-code>
<location>/404.html</location> <!-- test it with http://jakarta.apache.org
if it fails -->
</error-page>
other code can be found in the following rfc (http 1.1) starting page 59:
http://www.faqs.org/rfcs/rfc2068.html
good luck ;)
Lo�c Lef�vre
-----Message d'origine-----
De : Ivan E. Markovic [mailto:[EMAIL PROTECTED]]
Envoy� : mardi 31 juillet 2001 14:01
� : [EMAIL PROTECTED]
Objet : RE: Changing error pages
Importance : Haute
Lo�c,
I spent over an hour scanning all my .conf files for both Tomcat and
Apache. I did find the entries listed on the web-site in my web.xml
file.
But is that where I place these entries? In my web.xml file? I
searched all my files and find no real-life occurrences of these
error-page entries. Also I am familiar with error 404 but I do not
know the other error numbers.
Can you possibly help please? I am stuck...
Thank you.
I v a n ...
>Try this url, ;)
>
>http://www.jguru.com/faq/view.jsp?EID=318806
>
>Lo�c Lef�vre
>
>-----Message d'origine-----
>De : Ivan E. Markovic [mailto:[EMAIL PROTECTED]]
>Envoy� : lundi 23 juillet 2001 13:30
>� : [EMAIL PROTECTED]
>Objet : Changing error pages
>
>
>A quickie.
>
>Can I change the error page that appears when Tomcat is down? Or is
>this hard-coded into Apache?
>
>Somehow, someway I want to be able to provide people with notice of
>what's going on when I am taking the system down.
>
>Thank you.
>
>I v a n ...
>
>Ivan Markovic
>SculptLight
>http://www.sculptlight.com
>(+353) 87 2939256
>(+353) 1 2982205
>
>114 Lower Churchtown Rd,
>Dublin 14,
>Ireland.
>
>--
>Ivan Markovic
>SculptLight
>http://www.sculptlight.com
>(+353) 87 2939256
>(+353) 1 2982205
>
>114 Lower Churchtown Rd,
>Dublin 14,
>Ireland.
--
Ivan Markovic
SculptLight
http://www.sculptlight.com
(+353) 87 2939256
(+353) 1 2982205
114 Lower Churchtown Rd,
Dublin 14,
Ireland.