Looks like you're right. I now have: <global-results> <result name="Exception" type="chain">exception</result> </global-results>
<global-exception-mappings> <exception-mapping exception="java.lang.Exception" result="Exception"/> </global-exception-mappings> <action name="exception" class="my.package.ExceptionAction"> <result>WEB-INF/jsp/exception.jsp</result> </action> and it is working. Thank you. Dave Newton-4 wrote: > > --- ChristopherAngel wrote: >> How do I call an action before going to that page? > > This is untested, but AFAICT you should be able to > have the result be whatever type you want, so perhaps > you could send it to a type='action-redirect'? > > http://struts.apache.org/2.x/docs/exception-interceptor.html > > Post a followup with what you discover; I suspect > there will be a lot of people interested in the > results, and it can be added to the wiki. > > HTHCIG*, > d. > > * Hope This Helps 'Cuz I'm Guessing ;) > > > > > ____________________________________________________________________________________ > No need to miss a message. Get email on-the-go > with Yahoo! Mail for Mobile. Get started. > http://mobile.yahoo.com/mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Excaption-Handling-in-Struts-2-tf3531450.html#a9856670 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]