HI,
Im trying to create a form in
jsp (using
struts framework).
I'm trying to add some data to the database.
But one of the form elements is a select box which I need to be prepopulated from the database when the form loads.
I am able to submit the form using the Form bean and Action bean but I dont understand how can I pre-populate the select box when the page loads.
Can anyone give me any hint? I think I might have to create another action bean but I'm just not sure. I'd appreciate if someone can point out the steps for prepopulating.
Thanks once again
[ April 21, 2005: Message edited by: Amit Saini ]