You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2023/06/28 07:00:00 UTC

[jira] [Updated] (WW-2867) Add a method allowing to know what is the name of the "method" passed in the request

     [ https://issues.apache.org/jira/browse/WW-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-2867:
------------------------------
    Fix Version/s: 6.4.0
                       (was: 6.2.0)

> Add a method allowing to know what is the name of the "method" passed in the request
> ------------------------------------------------------------------------------------
>
>                 Key: WW-2867
>                 URL: https://issues.apache.org/jira/browse/WW-2867
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: &quot;New&quot; API
>    Affects Versions: 2.0.11
>         Environment: XP2 Tomcat 5.5 JDK 1.5.0.12
>            Reporter: olivier dupuy
>            Priority: Minor
>             Fix For: 6.4.0
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--Olivier Dupuy.vcf
>
>
> Add a method allowing to know what is the name of the "method" passed in the request
> Methods can be specified in a form in the JSP, for submit buttons and you can use them in links too.
> Add a method in ActionSupport called String getActionmethodName() 
> if you submit .... method:save  it would return "save" etc.
> I use a an equivalent method to do some security logic in my actions if multiple methods can hit the same action



--
This message was sent by Atlassian Jira
(v8.20.10#820010)