In the preceding Action just put the values for the <select> drop-down in a collection and set it in th erequest-scope (or the form-bean). On the JSP use the <html:options > or <html:collection> tag to populate the list from that collection.
See the taglib API for details. Affan ----- Original Message ----- From: "alexj" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 6:43 PM Subject: <html:select> fill value from database > Hi all, > > I got a trouble what's the best to do for my project : > > I need to add student from an addstudent view page who > have a StudentForm bean associated. > > In my view page I need to fill some datas who cames > from a database (some field like formationSelected and > durationSelected). > > I want to use these datas retrieved from a database to fill a > <html:select>. But I don't know what's the best to do. > > Thanks for your advice. > > <-- > Alexandre Jaquet > --> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]