Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Customizing Error Pages

Altankov Peter

2004-01-13


Via setup in your applications web.xml. Example:
<error-page>
  <error-code>404</error-code>
  <location>/404.html</location>
</error-page>
<error-page>
  <error-code>500</error-code>
  <location>/500.html</location>
</error-page>

> -----Original Message-----
> From: Krishnamoorthy Rao [mailto:raok@(protected)]
> Sent: 13 Януари 2004 г. 15:14
> To: tomcat-user@(protected)
> Subject: Customizing Error Pages
>
>
> Hi,
>
> I am using Tomcat 4.0. How to customize error pages?
>
> Your help will be valuable for us.
>
> Thanks and Regards,
> Krishnamoorthy Rao
> PLAYWIN - Vashi
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.