wood burning stoves 2.0*
The moose likes Struts and the fly likes help needed for html:option 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 "help needed for html:option " Watch "help needed for html:option " New topic
Author

help needed for html:option

maria kumar
Greenhorn

Joined: Jun 17, 2007
Posts: 11
I want display the arraylist data into select box with selected value(db Value should be selected automatically).

for example
ActionForm conatins one property named as Gender
In My arrayList contains Male and Female(Data) but in db value is either Male or Female

By now i want use html ptions or html ptionCollection to do this task

Please Help Me
Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help needed for html:option
 
Similar Threads
change font size in struts
how to make html:radio default selected
How to set the defaule selection for selectOneRadio
html:select and the titleKey attribute
IF condition in Struts 2.1.6