What is the recommended way to go about showing errors that occur within an
action to the client. I've got a situation where a single Action-call makes
X subsequent calls to an EJB to perform various business-related tasks. Any
one (or all) of the X calls can generate an error. Execution from the Action
isn't to be halted even if this occurrs, it should continue with the
remaining calls anyway. What I do want to do is pass information about which
call failed to the result-jsp that i forward to after the calls have been
performed.

In ActionForm(s) i've got the ActionErrors structure which I can fill with
my errors and then display with the .jsp . Is there a comparable structure
for errors that occurr within an action (although it is possible to create
an ActionError collection within the Action, I've read that this is bad
practice ) ? Or is there perhaps a "best practice" which describes how to go
about it ?

//Linus Nikander - [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to