struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gray (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-2963) default-action-ref fails to find wildcard named actions
Date Tue, 26 Sep 2017 21:22:00 GMT

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

Mime
View raw message