Try:

                    <select name="select" size="7" class="textbox">

                        <logic:iterate id="modelo" name="listado"> 

                                <option>
                                <bean:write name="modelo"
property="imagen"/>
                                </option>
                        
                        </logic:iterate>

                    </select>

Listado is a session Constant that's loaded at the Action.
Good Luck!

> -----Mensaje original-----
> De:   Stefan Faist [SMTP:[EMAIL PROTECTED]]
> Enviado el:   lunes 9 de julio de 2001 8:55
> Para: Struts
> Asunto:       html:option & html:select
> 
> Hi,
> I have mySQL Database and the data-source I have defined in the
> struts-config.html.
> In a JSP-site I want to access to this database with an methode like
> "ArrayList getAllNames()" and this list I want to put in a dropdown menu
> with the <html:option> & <html:select> Tags, but how can I get this
> array-list for my jsp-site? How can I call this methode?
> 
> Best regards,
> Stefan Faist
> ----------------------------------------------
> hmi-Informatik GmbH
> Zettachring 6 - D-70567 Stuttgart
> E-Mail: [EMAIL PROTECTED]
> http://www.hmi-informatik.de

Reply via email to