John john ha scritto:
> Hi,
>
> When there is a problem in my jsp file, Tomcat displays an
> Etat HTTP 500 -
> with the exception that caused the problem. Is there a way to avoid this message and display my own message like " We're sorry but we're facing a problem, please contact me at ..."
>
You can use
<error-page>
<error-code>403</error-code>
<location>your_page_name.jsp</location>
</error-page>
in you web.xml
see http://edocs.bea.com/wls/docs61/webapp/web_xml.html
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)