tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Custom 404 page when webapp stopped
Date Thu, 20 Aug 2009 19:25:47 GMT
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
 > <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


Mime
View raw message