Re: Struts 2 get custom action anotation in interceptors

2014-06-07 Thread Antonios Gkogkakis
Another way to get the annotation associated with the executed action is private static boolean isAnnotationPresent(ActionInvocation actionInvocation, Class annotationClass) { return getMethodFromInvocation(actionInvocation).isAnnotationPresent( annotationClass)

Re: Find action method in interceptor ( One action class with lots of action methods in it)

2014-06-07 Thread Antonios Gkogkakis
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 wrote: > Please consider below action class: > > public class MyAction extends ActionSupport{ > > @Action("actio