A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Dropdown with options generated by database
Joined: Nov 11, 2009
Dec 03, 2009 14:54:37
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
Joined: Sep 29, 2008
Dec 03, 2009 15:53:12
Put the results from the query into a collection and use the standard Struts 1 html tags?
I agree. Here's the link:
subject: Dropdown with options generated by database
drop down box using struts
unable to diable drop down box options in IE
how to get values in dropdown box from database?
Ajax drop down
how to display values from database in a dropdown box?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014