On an application where we had a lot of these static lists of options in the database, we loaded Lists of small name-value pair beans into the ServletContext at application startup. Then it's a simple matter to use html:options to access that list. We found that this approach was a pretty effective and easy to use.
Sean ----- Original Message ----- From: "Mark Woon" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 10:12 PM Subject: Loading data for <html:select> > Hi all... > > What's the standard way of loading a list of options from a database for > use within the <html:select> tag? Do you normally just do it within the > JSP page? Is there a way to get the ActionForm to load it? Or do you > do something completely different? > > Thanks, > -Mark > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>