struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marek Cupak <>
Subject global exception handling - struts sometimes ignores my setting in struts-config, what's wrong?
Date Mon, 13 Aug 2007 14:59:54 GMT

i need to configure struts to display user a errpage.jsp, when runtime
exception CustomException occur anywhere in the application. i've added to

	<exception	key="exception.Exception"

and to web.xml:


when i browse page _spikeScriptletThrowingEx.jsp:

<%@ page language="java" contentType="text/html; charset=UTF-8"
		<% throw new Exception(); %>

i receive only "The website cannot display the page, HTTP 500...". why is
the ErrorPage.jsp not displayed?

View this message in context:
Sent from the Struts - User mailing list archive at

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

View raw message