File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "help needed for html:option " Watch "help needed for html:option " New topic

help needed for html:option

maria kumar

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
It is sorta covered in the JavaRanch Style Guide.
subject: help needed for html:option
It's not a secret anymore!