This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
exceptions can be handled declaratively globally or locally (per action mapping) by defining them in struts-config.xml. this is documented in the struts user guide on apache web site. you essentially map an exception to a message key and a forward (jsp, tile, action mapping) and use html:errors to display the message in your jsp. in this sense, jsp does NOT handle the exception.
you can also define exception handlers for your exceptions.
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
Thanks for the help - that was exactly what I was doing, but I found my problem. The action was actually completing before the property was updated in my form bean - so at the time the page was refreshed, it actually _was_ correct (the items were deleted immediately after).
Joined: May 17, 2005
I apologize - I posted the previous message in the wrong thread.