Re: retrieve action name

2008-09-05 Thread ManiKanta G
If from action class or some other class, can use the below one. ActionContext.getContext().getName() Regards, ManiKanta ManiKanta G wrote: In what you want to get the action name? If from an interceptor, public String intercept(ActionInvocation actionInvocation) throws Exception

Re: retrieve action name

2008-09-05 Thread ManiKanta G
In what you want to get the action name? If from an interceptor, public String intercept(ActionInvocation actionInvocation) throws Exception { /* Requested action name */ String requestedAction = actionInvocation.getInvocationContext().getName(); // other