struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yitzle <yit...@users.sourceforge.net>
Subject [S2] Passing values from one action to another
Date Mon, 16 Jul 2007 18:10:05 GMT
I got two action classes, A and B.
A has a bunch of getters and B has corresponding setters.
In order to get the value from A into B, does that value need to
appear in the JSP? e.g. <s:hidden name="variable1" />?
I know I can get it to work by passing the values through the JSP (and
calling B from the submit), but can I get the values from A's getters
to B's setters without placing them on the JSP?

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


Mime
View raw message