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:[EMAIL PROTECTED]]
Sent: Wednesday, 18 December 2002 3:28 PM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to