Solved

Populating an ActionForm from the Database

Posted on 2004-10-01
4
206 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

Independent Software Vendors: 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

In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
We take a look at some of the most common obstacles that IT teams run into as they work relentlessly to keep all the alarms and sirens from going off at once.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
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 …

726 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