struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: addActionMessage does not show message after redirect (struts2.2.3)
Date Tue, 12 Jul 2011 15:49:44 GMT
I'll need to be convinced that using a stock interceptor stack, and
prototype-scope actions (if using Spring), will keep something in the
request across requests.

Dave

On Tue, Jul 12, 2011 at 11:45 AM, Emi Lu <emilu@encs.concordia.ca> wrote:
> It works for 2.2.1, but the message does not shown for 2.2.3 anymore! Is it
> a bug? I have a lots classes depend on it.
>
> Thanks a lot!
> Emi
>
>
>
> On 07/12/2011 11:39 AM, Emi Lu wrote:
>>
>> Hello List,
>>
>> Struts2.2.3, it seems that addActionMessage does not show message after
>> redirect.
>>
>> Someone knows why?
>>
>> Thank you,
>> Emi
>>
>> ====================
>> Action.java
>> this.addActionMessage(this.getText("UPDATE.SUCCESS"));
>> return forward_str;
>>
>>
>> <action name="*Action" method="{1}" class="Action">
>> ....
>> <result name="forward_str" type="redirectAction">
>> <param name="actionName">Action2</param>
>> <param name="namespace">/Action</param>
>> </result>
>> </action>
>
>
> --
> Emi Lu, ENCS, Concordia University, Montreal H3G 1M8
> emilu@encs.concordia.ca        +1 514 848-2424 x5884
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message