You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by SudhirSahoo <su...@gmail.com> on 2012/05/17 19:02:17 UTC

Re: How to get method name in interceptor

Hi,

It seems the url (http://strutsschool.com/downloads/downloads.action) is not
working now.
Can you please post here the logic how to get the method name in
interceptor.


Thanks,
Sudhir

--
View this message in context: http://struts.1045723.n5.nabble.com/How-to-get-method-name-in-interceptor-tp3476096p5709800.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: How to get method name in interceptor

Posted by Maurizio Cucchiara <mc...@apache.org>.
You're welcome.

Re: How to get method name in interceptor

Posted by SudhirSahoo <su...@gmail.com>.
That works like a charm.

Thanks a lot. 



Thanks,
Sudhir

--
View this message in context: http://struts.1045723.n5.nabble.com/How-to-get-method-name-in-interceptor-tp3476096p5709802.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: How to get method name in interceptor

Posted by Maurizio Cucchiara <mc...@apache.org>.
You should be able to get it through:

invocation.getProxy().getMethod();


Twitter     :http://www.twitter.com/m_cucchiara
G+          :https://plus.google.com/107903711540963855921
Linkedin    :http://www.linkedin.com/in/mauriziocucchiara

Maurizio Cucchiara


On 17 May 2012 19:02, SudhirSahoo <su...@gmail.com> wrote:

> Hi,
>
> It seems the url (http://strutsschool.com/downloads/downloads.action) is
> not
> working now.
> Can you please post here the logic how to get the method name in
> interceptor.
>
>
> Thanks,
> Sudhir
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/How-to-get-method-name-in-interceptor-tp3476096p5709800.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>