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" <[EMAIL PROTECTED]>
>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to