I wouldn't put a DAO or a business object there. Here is a good example.

http://struts.apache.org/1.x/faqs/actionForm.html

Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications



> From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <user@struts.apache.org>
> Date: Tue, 11 Mar 2008 11:33:28 -0400
> To: Struts Users Mailing List <user@struts.apache.org>
> Subject: Business object in the action form?
> 
> I have a question regarding ActionForm... Is it a good idea to place the
> Business Object in the action form? In my project, I do put the Data
> transfer object into the action form, but I am not certain if this is a
> good idea to put the business object as well into the action form. See
> the following link to understand what the business object is.
> 
> Thanks a lot.
> 
> 
> http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObjec
> t.html  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



This email and any attachments ("Message") may contain legally privileged 
and/or confidential information.  If you are not the addressee, or if this 
Message has been addressed to you in error, you are not authorized to read, 
copy, or distribute it, and we ask that you please delete it (including all 
copies) and notify the sender by return email.  Delivery of this Message to any 
person other than the intended recipient(s) shall not be deemed a waiver of 
confidentiality and/or a privilege.

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

Reply via email to