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
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
how can i retrieve the action name from request
--
View this message in context:
http://www.nabble.com/retrieve-action-name-tp19326279p19326279.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To
3 matches
Mail list logo