I don't understand
<exception-type>RouterApi.RouterNotUpException</exception-type>
how can I be more specific than that?
This happens to be the Exception I know that is being thrown:)
Lance
-----Original Message-----
From: Abid Ali Teepo [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 10:23 AM
To: Tomcat Users List
Subject: RE: web.xml error-page tag problem
ooops didn't read properly ...
you need to change the <exception-type> to something more specific.
maybe a exception you made yourself or something more specific. I think your
setting is something that is common for ALL exceptions ..
Abid
-----Original Message-----
From: Lance Smith [mailto:[EMAIL PROTECTED]
Sent: 11. juli 2003 17:14
To: Tomcat Users List (E-mail)
Subject: web.xml error-page tag problem
I have the following defined in me web.xml file. The problem is that no
mater what Exception is thrown ExceptionHandler.jsp is used. If I comment
out the error-code>500 error-page it act like nothing is defined.
Please HELP!!! I really need to catch the RouterNotUpException and give a
special page.
Thanks in advance.
<error-page>
<exception-type>RouterApi.RouterNotUpException</exception-type>
<location>/RouterNotUp.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/ExceptionHandler2.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/ExceptionHandler.jsp</location>
</error-page>
----------------------------------------------------------------------------
----
Lance Smith
972-359-6600
[EMAIL PROTECTED]
MSN: [EMAIL PROTECTED]
ICQ#: 162503576
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]