[
https://issues.apache.org/jira/browse/WW-4204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784616#comment-13784616
]
Lucy commented on WW-4204:
--------------------------
We are also holding off our release in waiting for this struts2 new patch.
I found if you comment out line mapping.setResult(new
ServletDispatcherResult(actionName)) in DefaultActionMapper class, the submit
buttons will work fine. Though I don't know it will still have the security
risk as indicated in WW-4200.
put(ACTION_PREFIX, new ParameterAction() {
......
if (getDefaultExtension() != null) {
actionName = actionName + "." + getDefaultExtension();
}
mapping.setResult(new ServletDispatcherResult(actionName));
......
}
> 404 error occurs on submitting (after applying 2.3.15.2)
> --------------------------------------------------------
>
> Key: WW-4204
> URL: https://issues.apache.org/jira/browse/WW-4204
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions, Example Applications
> Affects Versions: 2.3.15.2
> Reporter: Yuki Sugawara
> Assignee: Lukasz Lenart
> Priority: Blocker
> Fix For: 2.3.15.3
>
>
> Struts 2.3.15.2 brings 404 error on press submit named
> 'action:some-action-name'.
> S2-018 says 'After upgrading to Struts >= 2.3.15.2, applications using the
> "action:" should still work as expected.', but it seems not to be working.
> You can see it in example application 'Struts2 Showcase - Validation - Store
> Errors Across Request Example' > Cancel.
--
This message was sent by Atlassian JIRA
(v6.1#6144)