aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
Don't get me started about those stupid light bulbs.
 
subject: help needed for html:option
 
Similar Threads
IF condition in Struts 2.1.6
html:select and the titleKey attribute
How to set the defaule selection for selectOneRadio
how to make html:radio default selected
change font size in struts