You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Tomasz Nurkiewicz (JIRA)" <ji...@apache.org> on 2009/01/21 19:25:45 UTC

[jira] Created: (WW-2963) default-action-ref fails to find wildcard named actions

default-action-ref fails to find wildcard named actions
-------------------------------------------------------

                 Key: WW-2963
                 URL: https://issues.apache.org/struts/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


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.