Hi Alireza,

I believe you can have the method name of the executed action like this
actionInvocation.getProxy().getMethod()


Antonios




On 7 June 2014 06:29, Alireza Fattahi <afatt...@yahoo.com.invalid> wrote:

> Please consider below action class:
>
>  public class MyAction extends ActionSupport{
>
>       @Action("action1")
>       public String action1(){
>
>       }
>
>       @Action("action2")
>        public String action2(){
>         }
>
>       @Action("action3")
>       public String action3(){
>
>       }
>     }
>
> Is there any way in an inerceptor which I can find which method was really
> executed. I can find the class with
>
> myActionClass = invocation.getAction().getClass(); As I have many action
> methods in one class, how can I found which method was executed
>
>
> ~Regards,
> ~~Alireza Fattahi

Reply via email to