I am new to Struts and am having problems populating drop-downs from the database. I am actually getting a little frustrated with these tags, seems like no coding in java anymore. :)
1. ActionClass code excerpt: mBean.makeConnection(); //get country list vector Vector v = (Vector)mBean.getCountryList(); request.setAttribute("lstCountry", v) 2. JSP code excerpt: The vector lstCountry contains CountryObject beans that have getters and setters for country_id and name. <bean:define id="c" name="c" type="com.whatever.CountryObject"/> <html:select name="c" property="country" multiple="true"> <html:options collection="lstCountry" property="country_id" labelProperty="name"/> </html:select> Any help is greatly appreciated! Thanks, Abhi