Question

Comment puis-je obtenir le nom de la méthode qui sera appelée à l'action à partir d'un intercepteur?

Était-ce utile?

La solution

Ok, merci à la source Struts je trouve la réponse.

invocation.getProxy().getMethod();

Si l'invocation est le ActionInvocation passé à votre intercepteur.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top