Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 23897 invoked from network); 3 Mar 2006 20:38:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Mar 2006 20:38:20 -0000 Received: (qmail 76359 invoked by uid 500); 3 Mar 2006 20:38:57 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 76331 invoked by uid 500); 3 Mar 2006 20:38:57 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 76320 invoked by uid 99); 3 Mar 2006 20:38:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 12:38:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wsmoak@gmail.com designates 64.233.184.199 as permitted sender) Received: from [64.233.184.199] (HELO wproxy.gmail.com) (64.233.184.199) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 12:38:56 -0800 Received: by wproxy.gmail.com with SMTP id i5so974462wra for ; Fri, 03 Mar 2006 12:38:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=L5rzJNwA9vitaTv3W9nQBRiDwgGqu5nl20J0oY9Sm1DOfBXZ7/riCnIJZMWNqm5zWm8ybf7tOlSuf4foDd5BR9gPjPPOPyiLbisdh0CHD01ZZAQYvkHyMVLc6mGL6hQXjTfindAAbP2Acutz8qiR1KHT1vSbJy0B13B2RLymxkM= Received: by 10.54.60.9 with SMTP id i9mr1262903wra; Fri, 03 Mar 2006 12:38:34 -0800 (PST) Received: by 10.54.129.4 with HTTP; Fri, 3 Mar 2006 12:38:34 -0800 (PST) Message-ID: Date: Fri, 3 Mar 2006 13:38:34 -0700 From: "Wendy Smoak" To: "Struts Users Mailing List" Subject: Re: Logic Tag Question In-Reply-To: <51341F848370D64B848C054164F8175E1B267483@HQSNA01SMXS01.corp.firstam.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6618_21720779.1141418314426" References: <51341F848370D64B848C054164F8175E1B267483@HQSNA01SMXS01.corp.firstam.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_6618_21720779.1141418314426 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 3/3/06, Kalcevich, Daniel wrote: I have the following: > - An ArrayList in the ServletContext called > "timezones" > > - A Form Bean in the request scope called "accountProfileForm" > > I want to be able to loop through the values in the "timezones" > attribute and compate the "value" to the value of the "timeZone" in the > "accountProfileForm". Here is what I am trying: It looks like a Map would be a better choice than an ArrayList. Can you change it? Then you could just use [untested] -- Wendy ------=_Part_6618_21720779.1141418314426--