[ 
https://issues.apache.org/jira/browse/WW-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-2963:
------------------------------
    Description: 
With {{struts.xml}} fragment given below:

{code:xml}
<default-action-ref name="movie-list" />
<action name="movies" class="moviesAction" method="list">
  <!-- -->
</action>
<action name="movie-*" method="{1}" class="moviesAction">
  <!-- -->
</action>
{code}

Struts2 returns 404: "There is no Action mapped for namespace / and action name 
." Specifying action with no wildcard name (e.g. {{<default-action-ref 
name="movies" />}}) works as expected.

  was:
With struts.xml fragment given below:

<default-action-ref name="movie-list" />
<action name="movies" class="moviesAction" method="list">
  <!-- -->
</action>
<action name="movie-*" method="{1}" class="moviesAction">
  <!-- -->
</action>

Struts2 returns 404: "There is no Action mapped for namespace / and action name 
." Specifying action with no wildcard name (e.g. <default-action-ref 
name="movies" />) works as expected.


> default-action-ref fails to find wildcard named actions
> -------------------------------------------------------
>
>                 Key: WW-2963
>                 URL: https://issues.apache.org/jira/browse/WW-2963
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.1.6
>         Environment: Windows XP, jetty 6.1.5, Java 1.6
>            Reporter: Tomasz Nurkiewicz
>            Priority: Minor
>             Fix For: 3.0
>
>
> With {{struts.xml}} fragment given below:
> {code:xml}
> <default-action-ref name="movie-list" />
> <action name="movies" class="moviesAction" method="list">
>   <!-- -->
> </action>
> <action name="movie-*" method="{1}" class="moviesAction">
>   <!-- -->
> </action>
> {code}
> Struts2 returns 404: "There is no Action mapped for namespace / and action 
> name ." Specifying action with no wildcard name (e.g. {{<default-action-ref 
> name="movies" />}}) works as expected.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to