What Is The Proper Location To Place Inputs For Creating A Drop-Down Menu

2003-07-18 Thread Caroline Jen
I want to put the label and value pairs of the 51 states of the U.S. in a file, read in the file into an ArrayList, and then create a drop-down menu in a .jsp file. Question 1. Where is the proper place to put those label and value pairs? Create a table in the database? or put those pairs in a

Re: What Is The Proper Location To Place Inputs For Creating A Drop-Down Menu

2003-07-18 Thread Martin Naskovski
Thursday, July 17, 2003, 11:30:03 PM, you wrote: CJ I want to put the label and value pairs of the 51 CJ states of the U.S. in a file, read in the file into an CJ ArrayList, and then create a drop-down menu in a .jsp CJ file. The United States has 50 states. :) CJ Question 1. Where is the

Re: What Is The Proper Location To Place Inputs For Creating A Drop-Down Menu

2003-07-18 Thread Sandeep Takhar
I'd put it in the database. The value can be the abbreviated state name and the label can be the resource property that you look up. You can do something like what I saw in Struts in Action book. It uses an action in scaffolding contrib project (part of start) that is called ExistsAttribute