struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-2963) default-action-ref fails to find wildcard named actions
Date Wed, 27 Sep 2017 04:52:00 GMT

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

Lukasz Lenart updated WW-2963:
------------------------------
    Fix Version/s:     (was: 3.0)
                   2.5.x

> 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: 2.5.x
>
>
> 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)

Mime
View raw message