struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David (JIRA)" <>
Subject [jira] [Created] (WW-4033) Empty action names will be ignored
Date Thu, 28 Mar 2013 10:25:16 GMT
David created WW-4033:

             Summary: Empty action names will be ignored
                 Key: WW-4033
             Project: Struts 2
          Issue Type: Bug
          Components: Core Actions
    Affects Versions: 2.3.12
         Environment: Windows 7 x64, Eclipse, Jetty 9 (embedded)
            Reporter: David

Empty action names doesnt work anymore. In struts 2.3.8 an 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>

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:

View raw message