aspose file tools*
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
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..
 
jQuery in Action, 2nd edition
 
subject: How to dynamically populate