Re: launching some code after action execution and before result

2008-12-08 Thread Adam Hardy (struts)
PROTECTED]> wrote: > From: Adam Hardy <[EMAIL PROTECTED]> > Subject: launching some code after action execution and before result > To: "Struts Users Mailing List" > Date: Sunday, December 7, 2008, 3:29 PM > Is this possible somehow in the struts2 framework? > >

Re: launching some code after action execution and before result

2008-12-07 Thread Dave Newton
PreResultListener? --- On Sun, 12/7/08, Adam Hardy <[EMAIL PROTECTED]> wrote: > From: Adam Hardy <[EMAIL PROTECTED]> > Subject: launching some code after action execution and before result > To: "Struts Users Mailing List" > Date: Sunday, December 7, 2008, 3:2

Re: launching some code after action execution and before result

2008-12-07 Thread Musachy Barroso
Use the @BeforeResult annotation: http://struts.apache.org/2.0.14/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/annotations/BeforeResult.html musachy On Sun, Dec 7, 2008 at 3:29 PM, Adam Hardy <[EMAIL PROTECTED]> wrote: > Is this possible somehow in the struts2 framework? > > I'd like

launching some code after action execution and before result

2008-12-07 Thread Adam Hardy
Is this possible somehow in the struts2 framework? I'd like to execute some code for all requests after the action has executed, but before the result, the JSP and all are processed. The code will look at the result type from the action and do some work based on that. Something like an inte