File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Soft Skills this week in the Jobs Discussion 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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to dynamically populate