tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From llg <...@portaildulibre.fr>
Subject Re: Custom 404 page when webapp stopped
Date Thu, 20 Aug 2009 19:51:56 GMT


Le 20/08/09 21:25, André Warnier a écrit :
> llg wrote:
>>
> ...
>> I added in ${CATALINA_HOME}/conf/web.xml
>> <error-page>
>> <error-code>404</error-code>
>> <location>/my404.html</location>
>> <error-code>503</error-code>
>> <location>/my503.html</location>
>> </error-page>
>>
> I do not really *know* this, but based on the XML structure of other 
> Tomcat config files, the above form looks fishy to me.
> Should it not at least be something like
Yes, of course, you are right : just a stupid copy/paste in the mail :-[

But the result is the same
> > <error-page>
> > <error-code>404</error-code>
> > <location>/my404.html</location>
> > </error-page>
> > <error-page>
> > <error-code>503</error-code>
> > <location>/my503.html</location>
> > </error-page>
> ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

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


Mime
View raw message