struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Vanspall" <st...@crmsoftware.com.au>
Subject RE: how to send actionForm from one action to another action
Date Wed, 18 Dec 2002 02:40:28 GMT
The key in session for a form will be the name defined for that form in the
struts-config <form-bean> tag

-----Original Message-----
From: Taylor Cowan [mailto:t.cowan@charter.net]
Sent: Wednesday, 18 December 2002 3:28 PM
To: struts-user@jakarta.apache.org
Subject: re: how to send actionForm from one action to another action


>Hi, how to send actionForm from one action to another action.
If the form is specified as "session" scope in struts-config, it will always
be available to you from req.getSession().getAttribute(key).

I don't know exactly what key struts uses, but it could be found out by
reading the source code or inspecting all keys in your session scope.  My
guess is that it's the form's name, which should be unique.

Taylor cowan


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


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


Mime
View raw message