Struts what method is being called?
-
20-09-2019 - |
Question
How can I get the name of the method that will be called in the action from within an interceptor?
Solution
Ok, thanks to the struts source I found the answer.
invocation.getProxy().getMethod();
Where invocation is the ActionInvocation
passed to your interceptor.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow