wood burning stoves 2.0*
The moose likes Struts and the fly likes html-select  help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html-select  help" Watch "html-select  help" New topic

html-select help

Sam Bom

Joined: Jan 24, 2003
Posts: 22
Hi I am new to struts.. I want to populate a combobox with some master data.
using struts <html-select>
any pointers?
Harsha Huddar

Joined: Oct 03, 2003
Posts: 23
<html ptions property="colors"/>
Here colors is a String array in the form bean and whose getter method would return String[]. Combo box gets populated with this array.
Dont forget to name your form bean either in the form which contains this combo or the struts config.
Sam Bom

Joined: Jan 24, 2003
Posts: 22
Thanks for your help.
I agree. Here's the link: http://aspose.com/file-tools
subject: html-select help
Similar Threads
drop downs
Trying to extract text portion of select statement entry
check all checkboxes on clicking one
select tag
simple list rather tha a "pull down menu"?