You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Andrew Gray (JIRA)" <ji...@apache.org> on 2017/09/26 21:22:00 UTC
[jira] [Commented] (WW-2963) default-action-ref fails to find
wildcard named actions
[ https://issues.apache.org/jira/browse/WW-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16181602#comment-16181602 ]
Andrew Gray commented on WW-2963:
---------------------------------
This issue is also affecting 2.5.13
> 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:
> <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 was sent by Atlassian JIRA
(v6.4.14#64029)