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

Reply via email to