ActionForm to DAO

2006-10-14 Thread Raghuveer
Can we send ActionForm as argument to a method in DAO class from Action Class. What is Best Practice ? Thanks and Regards, Raghuveer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: ActionForm to DAO

2006-10-14 Thread Laurie Harper
Raghuveer wrote: Can we send ActionForm as argument to a method in DAO class from Action Class. Can you? yes. Should you? almost certainly not. What is Best Practice ? You should keep your model decoupled from your view. Passing Struts artifacts like action forms into the data access