2 Replies Latest reply: Sep 29, 2010 2:29 AM by 647735 RSS

    Error page in web.xml never called

    647735
      Hi,

      Jsp forum down, hope it's okay I ask here...

      I have defined an error page in my web.xml:
           <error-page>
                <error-code>404</error-code>
                <location>/error.jsp</location>
           </error-page>

      But when I trigger a 404, the browser shows this instead:
      HTTP ERROR 404

      Problem accessing /app/saf. Reason:

      NOT_FOUND


      This is when running on eclipse j2ee preview server, any suggestions?

      Thanks!

      Edited by: Andre Solberg on Sep 29, 2010 12:26 AM