Solved

Populating an ActionForm from the Database

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to access elements of included jsp  from parent jsp's save button 9 24
immutable object concept 5 127
TreeSet comparator example 7 97
going to wrong jsp page 2 33
If you are looking at this article, you have most likely been hit by some version of ransomware and are trying to find out if there is anything you can do, or what way you should react - READ ON!
IT certifications are a concrete representation of continual learning on the part of the candidate.  Continual learning is necessary for the long term success of an IT professional, but are IT certifications the right path for you?
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 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