I am guessing here, but try to remove the leading and trailing space. See if it work.
Instead of: <location> /jsp/error.jsp </location> Why not: <location>/jsp/error.jsp</location> Rosdi bin Kasim. ----- Original Message ----- From: "Armand Larregoity" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 05, 2003 11:42 PM Subject: Tomcat ignores the <error-page> configuration > > Hello, > > I'm using Tomcat 4.1.12. > I'm trying to configure an error-page in the web.xml file : > > <web-app> > ... > <error-page> > <exception-type>java.lang.Throwable</exception-type> > <location> /jsp/error.jsp </location> > </error-page> > ... > </web-app> > > but when an exception occurs, the request isn't forwarded to > error.jsp. I simply get a "org.apache.jasper.JasperException" in the > catalina.out file. > When I put a 'errorPage="/jsp/error.jsp"' directive in my > jsp pages, it works ... > > Is the problem known ? Is there a problem in my web.xml file ? > > Armand > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]