Title: Message
The result code is mapped to a result based on the configuration (i.e. "success" is mapped to a JSP, etc)
 
I'm not sure of your logic... the executed property is there to tell if the result has been executed (maybe it should be renamed)... If the result has not been executed, it could be either an interceptor that had a problem before executing the Action, or the Action itself, or even the Result, since it's executed before the flag is updated.
 
-----Original Message-----
From: John Patterson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 7:42 AM
To: Webwork
Subject: [OS-webwork] ActionInvocation result

Hi,
 
What is the the purpose of the result code returned from ActionInvocation.invoke()?  I can't find anywhere in the code that it is used?  Also, any comments on my plan to implement an ExceptionHandlerInterceptor like so:
 
ExceptionHandlerInterceptor catches all Exceptions and checks to see if the
invocation has been executed.  If so then the exception must have been
thrown by another interceptor so just log it and do nothing (result has
already finished executing).  Otherwise, use the ActionProxy to create the
ERROR result and execute it.
Thanks,
 
John.

Reply via email to