File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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
IF condition in Struts 2.1.6
how to make html:radio default selected
How to set the defaule selection for selectOneRadio
change font size in struts
html:select and the titleKey attribute