aspose file tools*
The moose likes Java in General and the fly likes how to generate dynamic drop down menu pulling data from the Collection Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to generate dynamic drop down menu pulling data from the Collection Object" Watch "how to generate dynamic drop down menu pulling data from the Collection Object" New topic
Author

how to generate dynamic drop down menu pulling data from the Collection Object

Ashu Patel
Greenhorn

Joined: Sep 15, 2003
Posts: 10
I have a a collection of the UserId which I want to populate into the dropdown menu
this collection of UserIds I am geting from database using the SQL and saving it into collection object
I am wondering how will i generate the dropdown menu using this to incorportate into jsp page so user can select valuse from the dropdown menu which comes from the Collection object so
USERID Collection ---> Dropdown menu---->let user Select it and ---> return result based of chosed Id....
Help will be greatly appriciated
Thanks
Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
Hey man, you need to learn to use Google--my search terms were:
java populate drop down
There are tons of pages out there with sample code showing how to do this, and many at Javaranch as well (always search before posting):
http://www.coderanch.com/t/348357/Servlets/java/populate-drop-down-listbox
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to generate dynamic drop down menu pulling data from the Collection Object