1 Reply Latest reply on Feb 3, 2004 1:27 AM by micke

    <error-page> does not work with IOException?

    kevinqs Newbie

      I use <error-page> to do global error handling. It works perfectly for ServletException. I can see the eror page. But for IOException, It does not work, I can only see a blank page.

      Any idea?

      I am using jboss-3.2.2_jetty-4.2.11

      Here is part of my web.xml:
      <error-page>
      <!-- This is to catch any ServletException -->
      <exception-type>javax.servlet.ServletException</exception-type>
      /GenericErrorForward.jsp
      </error-page>

      <error-page>
      <!-- This is to catch any IOException -->
      <exception-type>java.lang.IOException</exception-type>
      /GenericErrorForward.jsp
      </error-page>


      Thanks a lot.