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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to dynamically populate" Watch "How to dynamically populate" New topic

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..
I agree. Here's the link:
subject: How to dynamically populate
Similar Threads
Help in JSP
i want to create a file in the server from the client? is it possible?
Using a List for Field Population
Populating JTable