tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Januski, Ken" <kjanu...@phillynews.com>
Subject RE: Setting up an error page
Date Tue, 28 May 2002 16:57:13 GMT
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: cruegger@speakeasy.net [mailto:cruegger@speakeasy.net]
Sent: Tuesday, May 28, 2002 10:12 AM
To: tomcat-user@jakarta.apache.org
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message