The interceptor is called by Struts, not by the Action. But, what I think you are really asking is "How can I tell which Action is being processed when an Interceptor gets invoked?" If that's your real question, the answer is:
String name = invocation.getInvocationContext().getName(); (*Chris*) On Sun, Jun 9, 2013 at 7:29 PM, john lee <sh_thorn_b...@yahoo.com> wrote: > > > > in struts2 , defined an interceptor, it triggered by Action, my question is > > inside the interceptor class, what is the function call that can tell > caller's name, because that interceptor could be triggered by different > Action, we need to log the caller's name, but how? > > thanks > > john