A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to bind database items in my combox
Joined: Nov 15, 2012
Nov 15, 2012 01:50:18
How can I get the database items to be the options in my combo box items?
Author and ninkuma
Joined: Jan 10, 2002
Nov 15, 2012 08:48:49
In the page controller, fetch the list of options from the model. Pass them to the
as a scoped variable that is read by JSTL and EL on the JSP to create the option elements.
P.S. Please read
-- proper terminology can be important.
Asking smart questions
Books by Bear
It is sorta covered in the
JavaRanch Style Guide
subject: How to bind database items in my combox
Controlling a database item's life time
scanning items into database for online shopping site
Question about using logic:empty tag
automatic calculation of data in database.
B&S: Problem with stop server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015