I think the document is only talking about how to include dynamic parameters
for redirectAction you should do something like
<result type="redirectAction">
<param name="actionName">NavigateTo</param>
<param name="myParameter">myValue</param>
</result>
see http://struts.apache.org/2.0.6/docs/redirect-action-result.html
On Sat, Sep 17, 2011 at 11:27 PM, JOSE L MARTINEZ-AVIAL <jlmagc@gmail.com>wrote:
> Hi,
> According to the documentation(
>
> http://struts.apache.org/2.2.3/docs/parameters-in-configuration-results.html
> )
> it is possible to use parameters in a URL on a RedirectAction, as follows:
>
> <result
> type="redirectAction">NavigateTo?myParameter=myValue</result>
>
> But when I use that, the redirect instruction does not have the parameter,
> only the first part of the URL. Is there anything I'm missing?
>
> Thanks
>
> JL
>
|