Yes , I'm throwing an exception. A nullPointerException. /Peter
> -----Original Message----- > From: Randy Layman [mailto:[EMAIL PROTECTED]] > Sent: den 5 mars 2002 15:13 > To: 'Tomcat Users List' > Subject: RE: Using errorPage > > > > I only ask because you don't mention it - are you throwing the > error? JSPs only route to the error page if the exception is > thrown and not > caught during the execution of your page. If you don't throw > it, or you > throw it and catch it, JSP will never see the error. > > Randy > > > > -----Original Message----- > > From: Peter Lewandowski [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, March 05, 2002 9:34 AM > > To: 'Tomcat Users List' > > Subject: Using errorPage > > > > > > Hi All... > > > > I'm trying to redirect my jsp pages to a common error page, > > when ever an > > exception is raised, but with no success :( > > > > In my jsp page, I define: > > <%@ page errorPage="error.jsp" %> > > > > and in my error page, I've defined (at the very top of the page): > > <%@ page isErrorPage="true" %> > > > > In my jsp page I create an exception, but I am never > > redirected to my error > > page. Have I forgotten anything? Do I have to set something > up in the > > configuration files? > > > > Thanks > > > > Best Regards, > > Peter Lewandowski > > > > -- > > To unsubscribe: > <mailto:[EMAIL PROTECTED]> > > For additional commands: > <mailto:[EMAIL PROTECTED]> > > Troubles with the list: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>