简体   繁体   中英

Struts what method is being called?

如何从拦截器中获取将在操作中调用的方法的名称?

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

invocation.getProxy().getMethod();

Where invocation is the ActionInvocation passed to your interceptor.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM