Re: Struts 2 get custom action anotation in interceptors

2014-06-07 Thread Antonios Gkogkakis
eturn method; } Antonios On 7 June 2014 05:57, Alireza Fattahi wrote: > Thanks! > A complete code sample at: > > > http://stackoverflow.com/questions/24021534/struts-2-get-custom-action-anotation-in-interceptors > > > > ~Regards, > ~~Alireza Fattahi > > &

Re: Struts 2 get custom action anotation in interceptors

2014-06-06 Thread Alireza Fattahi
Thanks! A complete code sample at: http://stackoverflow.com/questions/24021534/struts-2-get-custom-action-anotation-in-interceptors   ~Regards, ~~Alireza Fattahi On Wednesday, 4 June 2014, 12:22, Lukasz Lenart wrote: Take a look on com.opensymphony.xwork2.util.AnnotationUtils 2014-06

Re: Struts 2 get custom action anotation in interceptors

2014-06-04 Thread Lukasz Lenart
Take a look on com.opensymphony.xwork2.util.AnnotationUtils 2014-06-03 19:37 GMT+02:00 Alireza Fattahi : > Consider below action class with three action mappings. Two of them are > annotated with a custom annotation `@AjaxAction` > > public class MyAction extends ActionSupport{ > > @Act

Re: Struts 2 get custom action anotation in interceptors

2014-06-03 Thread Dave Newton
Just get the action and check for the annotation. On Jun 3, 2014 1:41 PM, "Alireza Fattahi" wrote: > Consider below action class with three action mappings. Two of them are > annotated with a custom annotation `@AjaxAction` > > public class MyAction extends ActionSupport{ > > @Action("

Struts 2 get custom action anotation in interceptors

2014-06-03 Thread Alireza Fattahi
Consider below action class with three action mappings. Two of them are annotated with a custom annotation `@AjaxAction`     public class MyAction extends ActionSupport{            @Action("action1")       @AjaxAction  //My custom anotation       public String action1(){           }