based on the scope your form bean is in you can access it like this.
ActionForm formA = request.getAttribute("A");
or
ActionForm formA = session.getAttribute("A");
Thanks,
Nuwan
----- Original Message -----
From: "Sheetal Gupta" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, November 23, 2006 6:29 AM
Subject: How to access formbean of another action class
Hi,
I hava a action class "A" , which
based on the value in it's form bean takes an appropriate action..
Now, I have an another action class(B),
which would explicitly invoke
action class A.
But the problem is how do i get a
reference of form bean of " A",
SO THAT i CAN MANUALLY SET .
the param value of its respective form bean(A).
Thanks & Regards,
Sheetal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]