struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alireza Fattahi <>
Subject Find action method in interceptor ( One action class with lots of action methods in it)
Date Sat, 07 Jun 2014 05:29:24 GMT
Please consider below action class:

 public class MyAction extends ActionSupport{
      public String action1(){    

       public String action2(){    

      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

~~Alireza Fattahi
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message