[ 
https://issues.apache.org/jira/browse/WW-5248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17621254#comment-17621254
 ] 

Lukasz Lenart commented on WW-5248:
-----------------------------------

Soon, I will prepare a test build next week

> action attribute on submit tag not working as espected
> ------------------------------------------------------
>
>                 Key: WW-5248
>                 URL: https://issues.apache.org/jira/browse/WW-5248
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core, Core Actions, Core Tags
>    Affects Versions: 6.0.3
>            Reporter: João Francisco Rösler Rodrigues
>            Priority: Blocker
>             Fix For: 6.1.0
>
>
> I have one project running with struts and the bellow situation works fine 
> with 2.5.29 version:
> jsp:
> {code:java}
> <s:form>
>   <s:submit action="myAction"/>
> </s:form>{code}
> struts.xml:
> {code:java}
> <constant name="struts.mapper.action.prefix.enabled" value="true" />
> <action name="myAction" class="com.foo.MyAction" method="executeMyAction"> 
> {code}
> The form is submited and hadlered by the executeMyAction method, as espected.
>  
> When upgraded to struts 6.0.3, the submit is ignoring the method mapped for 
> this action and is invoking the previous method from the value stack. And I'm 
> getting a "method not allowed" error.



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

Reply via email to