[
https://issues.apache.org/jira/browse/WW-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart closed WW-4033.
-----------------------------
Resolution: Duplicate
Assignee: Lukasz Lenart
> Empty action names will be ignored
> ----------------------------------
>
> Key: WW-4033
> URL: https://issues.apache.org/jira/browse/WW-4033
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.3.12
> Environment: Windows 7 x64, Eclipse, Jetty 9 (embedded), JDK 1.7.17
> Reporter: David
> Assignee: Lukasz Lenart
>
> Empty action names doesnt work anymore. In struts 2.3.8 and below it works as
> expected.
> Sample package:
> <constant name="struts.action.extension" value="html,"/>
> <package name="default" extends="struts-default" namespace="/">
> <default-interceptor-ref name="defaultStack"/>
> <action name="" >
> <result type="redirectAction">
> <param name="actionName">actionname</param>
> <param name="namespace">/namespace</param>
> </result>
> </action>
> </package>
> Apache struts 2.3.12 just displays the directory content instead of
> redirecting to the /namespace/actionname action. URL: http://localhost:8080/
> if I change the libraries struts2-core and xwork-core to an older version
> (2.3.8), it works just fine. It redirects the url http://localhost:8080/ to
> http://localhost:8080/namespace/actionname.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira