[英]Struts what method is being called?
如何从拦截器中获取将在操作中调用的方法的名称?
Ok, thanks to the struts source I found the answer. 好的,多亏了struts的来源,我找到了答案。
invocation.getProxy().getMethod();
Where invocation is the ActionInvocation
passed to your interceptor. 调用是传递给拦截器的ActionInvocation
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.