This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes How to dynamically populate 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 » Java » JSP
Bookmark "How to dynamically populate" Watch "How to dynamically populate" New topic
Author

How to dynamically populate

John Ray Allen
Ranch Hand

Joined: Jan 06, 2005
Posts: 50
how can I dynamically populate a dropdown menu in JSP wherein its list will come from a certain column of a table in the database? thanks
Niki Nono
Ranch Hand

Joined: Mar 20, 2005
Posts: 256
connect to the database and form the resultset object.




Try the above code with your specific modifications and it will populate the combo box from the table according to the query.


Life called,so here I am.<br />Cheers<br />Niki.:-)
John Ray Allen
Ranch Hand

Joined: Jan 06, 2005
Posts: 50
Thanks niki..i appreciate it alot..
 
Consider Paul's rocket mass heater.
 
subject: How to dynamically populate
 
Similar Threads
JAVA SCRIPT
Populating JTable
Help in JSP
Using a List for Field Population
i want to create a file in the server from the client? is it possible?