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

A-pZ commented on WW-3997:
--------------------------

Exactly , root path configulation is configured with a http server or 
web.xml(welcome-files).
On the other hand , I thought that default action in sub path (e.g. 
http://localhost:8080/user/ ) , this action is configured package="user" and 
action="" at struts.xml, or convention plugin was here,
{code:borderStyle=solid}
@Namespace("user")
public class SampleAction extends ActionSupport {
  @Action("")
  public String index() {
    // .......
    return "success";
  }
}
{code} 

I guess it is necessary to work empty action in such a case.
                
> 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