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


--
[EMAIL PROTECTED]
AIM: edoardopn
Jabber: [EMAIL PROTECTED]
tel:075 9142766

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to