Solved

Populating an ActionForm from the Database

Posted on 2004-10-01
4
202 Views
Last Modified: 2010-04-01
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.

0
Comment
Question by:CrashWorx
4 Comments
 

Expert Comment

by:osource_dev
ID: 12220674
can you send me the jsp file and the acction mapping ?
0
 

Author Comment

by:CrashWorx
ID: 12268698
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
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12537111
PAQed, with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now