Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从拦截器中获取将在操作中调用的方法的名称?
好的,感谢struts源我找到了答案。
invocation.getProxy().getMethod();
调用ActionInvocation传递给您的拦截器的位置。
ActionInvocation