Java Mailing List Archive

http://www.junlu.com/

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

Re: Customizing error pages

Edoardo Panfili

2006-05-30

Replies:

Alberto Montoya wrote:
> Hello!
>
> It's possible to Customize error pages on Tomcat? I think that you can do
> that in Apache but I couldn't find in in Tomcat.
It's possible.

You can put some information like
-------------------------------------------------------------------
     <!-- HttpServletResponse.SC_FORBIDDEN -->
     <error-page>
          <error-code>403</error-code>
          <location>/errori/forbidden.jsp</location>
     </error-page>
-------------------------------------------------------------------
in web.xml


Edoardo

--
edoardo@(protected)
AIM: edoardopn
Jabber: edoardopa@(protected)
tel:075 9142766

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

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