Hi maybe this can help 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html

You write your own errorReportValveClass to customize Error Pages.


-----Original Message-----
From: Krause Karin 
Sent: Mittwoch, 21. Januar 2004 11:26
To: 'Tomcat Users List'
Subject: RE: HELP: Want to custom the TOMCAT NOT-FOUND page.


Hi,
you can specify custom error pages in the web.xml
file
see the servlet spec

here is an example:

        <error-page>
                <error-code>404</error-code>
                <location>/errorpages/404.html</location>
        </error-page>

Karin


-----Original Message-----
From: Rai Ou [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 21. Januar 2004 10:24
To: 'Tomcat Users List'
Subject: HELP: Want to custom the TOMCAT NOT-FOUND page.


Tomcat will give the HTTP 404, 500 (and so on...) Error pages when 
accessed by a wrong URL. 

I want to custom that pages but, it seems that they are hard-coding
in tomcat, any good ideas for doing it ?

Thanks. 
Rai.

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

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

Reply via email to