struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shane Mingins <shane.ming...@assureinternational.com>
Subject RE: accessing more than 1 formbean in an action class
Date Mon, 14 Jul 2003 20:32:22 GMT
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:madhu_nair@persistent.co.in] 
Sent: Tuesday, 15 July 2003 2:55 a.m.
To: struts-user@jakarta.apache.org
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

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


Mime
View raw message