This is the error page part of my web.xml:
<error-code>500</error-code>
<location>/internalError.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/notFoundError.jsp</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/restrictedError.jsp</location>
</error-page>
<error-page>
<error-code>400</error-code>
<location>/public/jada.jsp</location>
</error-page>
<error-page>
<exception-type>SendFailedException</exception-type>
<location>/mailError.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.NullPointerException</exception-type>
<location>/NullPointerException.jsp</location>
</error-page>
<error-page>
<exception-type>java.net.UnknownHostException</exception-type>
<location>/mailError.jsp</location>
</error-page>
<error-page>
<exception-type>org.apache.jasper.JasperException</exception-type>
<location>/internalError.jsp</location>
</error-page>
-----Oprindelig meddelelse-----
Fra: Wendy Smoak [mailto:***@wendysmoak.com]
Sendt: 20. januar 2005 03:00
Til: Tomcat Users List
Emne: Re: 403 Forbidden
From: "Søren Blidorf" <***@nolas.dk>
To: <tomcat-***@jakarta.apache.org>
Sent: Wednesday, January 19, 2005 4:08 PM
Subject: 403 Forbidden
Post by Søren BlidorfI have setup my web.xml error page "403 Forbidden" to go to my page
"restrictedError.jsp"
I cannot get it to work!
What have you tried? I'm having a similar problem, though I'm trying to
trap certain types of Exceptions (rather than error codes) and send the
user
to a certain .jsp.
Post the relevant parts of [I assume] web.xml and hopefully someone can
help
us both. :)
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-***@jakarta.apache.org
For additional commands, e-mail: tomcat-user-***@jakarta.apache.org