Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 59548 invoked from network); 18 Jul 2003 06:30:19 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 18 Jul 2003 06:30:19 -0000 Received: (qmail 12114 invoked by uid 97); 18 Jul 2003 06:33:00 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 12107 invoked from network); 18 Jul 2003 06:33:00 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 18 Jul 2003 06:33:00 -0000 Received: (qmail 57492 invoked by uid 500); 18 Jul 2003 06:29:52 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 57477 invoked from network); 18 Jul 2003 06:29:51 -0000 Received: from web11504.mail.yahoo.com (216.136.172.36) by daedalus.apache.org with SMTP; 18 Jul 2003 06:29:51 -0000 Message-ID: <20030718063003.35930.qmail@web11504.mail.yahoo.com> Received: from [171.75.34.1] by web11504.mail.yahoo.com via HTTP; Thu, 17 Jul 2003 23:30:03 PDT Date: Thu, 17 Jul 2003 23:30:03 -0700 (PDT) From: Caroline Jen Subject: What Is The Proper Location To Place Inputs For Creating A Drop-Down Menu To: struts-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 properties file? Which directory does this properties file go? Question 2. Do I read those pairs into an ArrayList in the controller servlet? __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org