Populating an ActionForm from the Database

Hi,

I need to populate a html form written with Struts custom tags.
The page first needs to display the form with fields populated from the database then allow it to be changed and saved back to the database;

The form is mapped to a BO object CustomerBO with attributes firstName and lastName (and the given getters and setters)

I can get the form to display but i don't get any values from the database;

Please point me in the write direction.

Thanks very much.

CrashWorxAsked:
Who is Participating?
 
moduloConnect With a Mentor Commented:
PAQed, with points refunded (125)

modulo
Community Support Moderator
0
 
osource_devCommented:
can you send me the jsp file and the acction mapping ?
0
 
CrashWorxAuthor Commented:
Its ok - i have fixied the problem myself . redirect was set to true - once i set it to false in the struts config file it fixed the problem.

0
All Courses

From novice to tech pro — start learning today.