Because it's a redirect, and things in the request go away when there's a new request.
Dave On Tue, Jul 12, 2011 at 11:39 AM, Emi Lu <em...@encs.concordia.ca> 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> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org