Struts what method is being called?
How can I get the name of the method that will be called 开发者_JS百科in the action from within an interceptor?
Ok, thanks to the struts source I found the answer.
invocation.getProxy().getMethod();
Where invocation is the ActionInvocation
passed to your interceptor.
精彩评论