struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Siviero" <>
Subject exception redirect [OT] ?
Date Sun, 18 Feb 2001 13:16:14 GMT
Maybe this will be a little bit OT
i want to redirect all the exception occurred in all actions and custom tags
to a page which send me an email with exception details.
In my web.xml i set the following tags

the errorPage.jsp  contain the directive: <%page isErrorPage="true"%>

In an action a try to call a method on a null object which causes a
I get redirect to my errorPage.jsp but when i get the exception with
pageContext.getException(), it is null;
I also have tried to set <%page errorPage="/errorPage.jsp"%> in every jsp
page i have, but nothing seems to work.

Any clue ?

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

View raw message