tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seak, Teng-Fong" <seak_tengf...@yahoo.com>
Subject Re: Custom error page when ...
Date Mon, 24 Oct 2005 20:09:39 GMT
    Exactly.  That's why he wrote "You can add pages for HTTP response
codes to you(r) web.xml file for each web application you deploy within
Tomcat."

Roberto Bottoni - AfterBit wrote:

>Ok.. but if I make this change in web.xml in folder /conf of Tomcat I get
>the same result for every web application?
>
>Thanks.
>Roberto.
>
>----- Original Message ----- 
>From: "Chris Birch" <cpbirch@mac.com>
>To: "Tomcat Users List" <users@tomcat.apache.org>
>Sent: Saturday, October 22, 2005 12:59 PM
>Subject: Re: Custom error page when ...
>
>
>  
>
>>You can add pages for HTTP response codes to you web.xml file for each
>>web application you deploy within Tomcat.
>>
>>Add the following to your web.xml file after <welcome-file-list> and
>>before <taglib> declarations:
>>
>><error-page>
>><error-code>404</error-code>
>><location>/pages/error.jsp</location>
>></error-page>
>>
>>Regards,
>>Chris.
>>
>>On 22 Oct 2005, at 10:12, Roberto Bottoni - AfterBit wrote:
>>
>>    
>>
>>>Hi,
>>>I would like to replace a custom error page when i get a : HTTP Status
>>>404
>>>.. The requested resource (/..) is not available with Tomcat 5.
>>>How I make this ?
>>>Thanks.
>>>
>>>Roberto.
>>>      
>>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message