aspose file tools*
The moose likes JSP and the fly likes How to bind database items in my combox 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 bind database items in my combox" Watch "How to bind database items in my combox" New topic
Author

How to bind database items in my combox

paul alvin
Greenhorn

Joined: Nov 15, 2012
Posts: 15
How can I get the database items to be the options in my combo box items?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60049
    
  65

In the page controller, fetch the list of options from the model. Pass them to the JSP as a scoped variable that is read by JSTL and EL on the JSP to create the option elements.

P.S. Please read HtmlHasNoComboBox -- proper terminology can be important.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to bind database items in my combox
 
Similar Threads
B&S: Problem with stop server
Controlling a database item's life time
automatic calculation of data in database.
scanning items into database for online shopping site
Question about using logic:empty tag