tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jm...@adobe.com
Subject Re: custmize http error - page not found
Date Thu, 30 Jan 2003 15:37:39 GMT
Add the following to your web.xml

<error-page>
   <error-code>404</error-code>
   <location>/path/to/error404.jsp</location>
   <error-code>500</error-code>
   <location>/path/to/error500.jsp</location>
</error-page>

HTH

Jan-Michael



----- Original Message -----
From: joe <list@concrete-it.com>
Date: Thursday, January 30, 2003 3:43 am
Subject: custmize http error - page not found

> hi all!
> 
> is it possible to set a customized http 404 error page?
> it would be nice to have one in the same look and feel of my 
> application.
> thanx,
> joe
> 
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


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


Mime
View raw message