Re: How to populate fields in a form with data retrieved from a database table...

2004-06-29 Thread Research labs
Thank you very much for your detailed and prompt response. Yes I "want to show a user a form with data pre-filled based on the database data?" In Oracle form means interface whereas in Struts it is a bit ambiguous. I will say interface or jsp next time. More to the point, I followed your instr

Re: How to populate fields in a form with data retrieved from a database table...

2004-06-28 Thread Joe Germuska
At 1:36 PM +0100 6/28/04, 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. Are you saying that yo

Re: How to populate fields in a form with data retrieved from a database table...

2004-06-28 Thread Bill Siggelkow
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 CustomerFor