seem to be a good way to me
but I don't know how to register this implementation with Struts2/Xwork.
Any help or different point of view on how to handle printing stacktraces
welcome!!
cheers
-nodje
--
View this message in context:
http://www.nabble.com/How-to-register-an-ActionEve
Yes, the interceptors can tinker with the action before the action method
executes .
Chris
-Original Message-
From: Karan Malhi
To: Struts Users Mailing List
Sent: Sat, Aug 22, 2009 10:35 pm
Subject: Re: How to register an ActionEventListener
Struts 2. If
Want to inject EJB's, however I do not want to add a dependency on spring.
On Sat, Aug 22, 2009 at 12:15 PM, Dave Newton wrote:
> Karan Malhi wrote:
>
>> I want to post process an action instance after it is created. I could
>> create an ActionEventListener implementation. How would I register t
er action creation.
>
>
>
>
>
> Chris
>
>
>
>
>
>
> -Original Message-
> From: Karan Malhi
> To: user@struts.apache.org
> Sent: Fri, Aug 21, 2009 11:28 pm
> Subject: How to register an ActionEventListener
>
>
>
>
>
>
&g
l your
> interceptors
> are processing the request after the action is created.
>
>
>
> after it is created
>
>
>
>
>
>
>
>
> Chris
>
>
>
>
>
>
> -Original Message-
> From: Karan Malhi
> To: user@struts.apache.org
> S
Karan Malhi wrote:
I want to post process an action instance after it is created. I could
create an ActionEventListener implementation. How would I register this
class with struts so that it notifies the listener?
You could also do this via Spring (although I never have--I'm just
guessing). Wh
Sorry -- I should have asked if you were using Struts 1 or 2!
Struts 2 interceptors kick in after action creation.
Chris
-Original Message-
From: Karan Malhi
To: user@struts.apache.org
Sent: Fri, Aug 21, 2009 11:28 pm
Subject: How to register an ActionEventListener
Subject: How to register an ActionEventListener
I want to post process an action instance after it is created. I could
create an ActionEventListener implementation. How would I register this
class with struts so that it notifies the listener?
--
Karan Singh Malhi
I want to post process an action instance after it is created. I could
create an ActionEventListener implementation. How would I register this
class with struts so that it notifies the listener?
--
Karan Singh Malhi
9 matches
Mail list logo