Do you have this at top of pages:
<%@ page errorPage="errorPage.jsp" %>

I'm pretty new to this but I believe you need to have this at top of all
pages that you want sent to your web page. That page in turn must have:

<%@ page isErrorPage="true" %>

Ken



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 10:12 AM
To: [EMAIL PROTECTED]
Subject: Setting up an error page




I'm having a problem getting Tomcat to forward to my
error page when an exception is thrown. I have setup
the error page im web.xml, but when any of my servlets
throw an Exception, I go to Tomcat's error page, not
my customized error page. It seems to work ok if a JSP
throws an exception from inline java. Anything I'm doing
wrong here that comes to mind?
Thanks!

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to