Dear Mr Labs:

Perhaps you do a little more "research"? Seriously, I am not sure what problem you are having. I suggest you use the classic DAO (data access object) pattern to encapsulate your database access. Have the DAO return a Customer business object. You can then populate your CustomerForm using straight setters ...

customerForm.setName(customer.getName());

or you could use the BeanUtils.copyProperties()

BeanUtils.copyProperties(customer, customerForm);


Research labs wrote:

//***Please note that I am using DispatchAction not
Action***

Please tell me how to populate fields in a form with
data retrieved from a database table.
Please note that I am particular about how to do this
using Struts tags etc. //***Please also note that I am using DispatchAction
not Action***




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



Reply via email to