[ 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.7.1 (was: 6.7.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: "New" API > Affects Versions: 2.0.11 > Environment: XP2 Tomcat 5.5 JDK 1.5.0.12 > Reporter: olivier dupuy > Priority: Minor > Fix For: 6.7.1 > > 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)