struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Aggarwal" <>
Subject [S2] error-page directive not working
Date Sun, 02 Sep 2007 21:06:21 GMT

I added this error-page directive in my web.xml:


The error.action exists and loads correctly:

I then created a jsp which throws an exception:
<%throw new Exception("Testing error handling");%>

Which I linked to this url:

When I load that url, I get an error in the tomcat log
but the error page does not come up on the browser.

Any ideas what went wrong?

Here is the output in catalina.out:

Sep 2, 2007 4:04:58 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.Exception: Testing error handling
	// Rest of trace removed


Neil Aggarwal, (832)245-7314,
Eliminate junk email and reclaim your inbox.
Visit for details.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message