> 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



You can do this:

actionInvocation.getInvocationContext().getName()



Regards,
Christoph

This Email was scanned by Sophos Anti Virus

Reply via email to