?
Solved

Populating an ActionForm from the Database

Posted on 2004-10-01
4
Medium Priority
?
207 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What's worse than having your data encrypted by ransomware? Getting attacked by a so-called "wiper," which simply destroys the data and offers you no hope of ever seeing it again.
The Summer 2017 Scholarship Winners have been announced!
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

770 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