Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Populating an ActionForm from the Database

Posted on 2004-10-01
4
Medium Priority
?
208 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

Industry Leaders: 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

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
This week I attended a Startup Week Chattanooga talk on Gender Diversity in Technology. Check out what I learned.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

604 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