views:

45

answers:

1

How can I get the name of the method that will be called in the action from within an interceptor?

+1  A: 

Ok, thanks to the struts source I found the answer.

invocation.getProxy().getMethod();

Where invocation is the ActionInvocation passed to your interceptor.

Sionide21