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

Lukasz Lenart commented on WW-3997:
-----------------------------------

@Action("") it is exactly the same as <action name="">

But the Convention plugin supports default Index action, just name class Index 
and if you have namespace per package put Index in each package, eg:

com.demo.app.actions.Index -> /
com.demo.app.actions.products.Index -> /products/

http://struts.apache.org/development/2.x/docs/convention-plugin.html#ConventionPlugin-Introduction
                
> Empty action names stop working
> -------------------------------
>
>                 Key: WW-3997
>                 URL: https://issues.apache.org/jira/browse/WW-3997
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.3.12
>            Reporter: Diego Díez
>            Priority: Minor
>             Fix For: 2.3.13
>
>
> Empty action names stop working.
> {code:xml}
> <package name="common-root" extends="struts-default" namespace="/">
>     <action name="">
>         <result name="success" type="tiles">index</result>
>     </action>
> </package>
> {code}
> For http://localhost:8084/, tomcat return 404 status

--
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

Reply via email to