aspose file tools*
The moose likes Struts and the fly likes Dropdown with options generated by database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dropdown with options generated by database" Watch "Dropdown with options generated by database" New topic
Author

Dropdown with options generated by database

Nicolás Muñoz
Greenhorn

Joined: Nov 11, 2009
Posts: 17
Hello. I'm using Struts 1.3 and Hibernate. In a jsp, I would like to have a dropdown which has options generated by a list of objects present in a database. How can I do this? There doesn't seem to be a clear way to do this. Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Put the results from the query into a collection and use the standard Struts 1 html tags?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dropdown with options generated by database