struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: How can I pass parameters between actions
Date Tue, 18 Dec 2007 10:01:26 GMT
Ray on 18/12/07 02:32, wrote:
> How can I pass parameters between actions.
> For example, there is a parameter "username" in firstAction, and I want 
> to use this value in  secondAction
> How can I get the "username" value in the secondAction

There are many ways. It depends heavily whether your 2 actions are done in one 
request or 2. And of course, whether you're using Struts1 or 2.

Adam

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


Mime
View raw message