Thank u Karin,

But I want to custom the Common 404 Page, not for a special web application.
<error-page> maybe can only put in the special web application config.

Am' I right ?

Rai


> -----Original Message-----
> From: Krause Karin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 21, 2004 7:26 PM
> 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]
> 

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

Reply via email to