Thanks shane , I didnt know you could do this.
My problem is solved.

-----Original Message-----
From: Shane Mingins [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 2:02 AM
To: 'Struts Users Mailing List'
Subject: RE: accessing more than 1 formbean in an action class


Hi

Can you not just retrieve the object from the request/session? 

I had a form in session scope that I access from other action classes like
so: MyForm form = (MyForm)request.getSession().getAttribute("MyForm");

Shane


-----Original Message-----
From: Madhu Nair [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 15 July 2003 2:55 a.m.
To: [EMAIL PROTECTED]
Subject: accessing more than 1 formbean in an action class

Hi,

I am trying to access more than 1 formbean in an action class. Using the
Struts API I am able to retrieve the "FormBeanConfig" object for a form
bean. But I am unable to get the "ActionForm" object. How to get the same?

Regards,
Madhu

-------------------------------------
Madhu Nair
Member of Technical Staff,
Persistent Systems Private Limited,
Pune 411016 INDIA.
Tel: +91-20-5678900 Ext: 335


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

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


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

Reply via email to