JSP Error pages not working
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Tom_Berry
Posted On:   Friday, October 24, 2003 07:12 AM

I have successfully been incorporating JSP error pages in my web apps but I have one application where it does not work. I was using " <%@ page errorPage="Errors.jsp" %>" on each of the JSPs.


I have added:





java.lang.Throwable

/Errors.jsp



after the tags in the web.xml, but I still get the error displayed on the web app.


Any ideas what I can check next?

Thanks Tom

Re: JSP Error pages not working

Posted By:   Steve_Daskam  
Posted On:   Friday, October 24, 2003 01:53 PM

Two things come to mind:

  • Is your Errors.jsp file in the root directory of your application?
  • Does your Errors.jsp file include <%@ page isErrorPage="true" %>


    Regards,

    Steve

  • About | Sitemap | Contact