Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 89307 invoked from network); 16 Sep 2008 18:00:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Sep 2008 18:00:21 -0000 Received: (qmail 93304 invoked by uid 500); 16 Sep 2008 18:00:09 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 93283 invoked by uid 500); 16 Sep 2008 18:00:09 -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 93272 invoked by uid 99); 16 Sep 2008 18:00:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 11:00:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.196.97.61] (HELO web56702.mail.re3.yahoo.com) (66.196.97.61) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 16 Sep 2008 17:59:10 +0000 Received: (qmail 97998 invoked by uid 60001); 16 Sep 2008 17:59:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=Q1+AzpvBoRGH9YK6SdovshgzXcXbkpM9s2p34jjAaBRqD4Zv2ATCFzMkOSCGfQHUuNwOW+Zo6CMA5vMrzmws98ct6AvCFvFkrTAKw8ylGeCiSRc5MEhKG+/mMFESKTVfIISNpyPjd0jSPqgxvAP8glslRKYw+J0Y+qdEi7tGXZk=; X-YMail-OSG: ZN7sQUwVM1lJybKbk2HfR4zqqFNEubQd5A1dec9rrUFhJgx5drrIiYvH31ErCcHdBb1lQOYt7ctSL.EwST3ZdeRaVpIPLpvemXYEgVahOXCeA9ntBPDAzCQ76jjvIgXvoWA- Received: from [68.39.7.164] by web56702.mail.re3.yahoo.com via HTTP; Tue, 16 Sep 2008 10:59:41 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 16 Sep 2008 10:59:41 -0700 (PDT) From: Dave Newton Reply-To: newton.dave@yahoo.com Subject: Re: reading drop down through properties file To: Struts Users Mailing List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <5616.96691.qm@web56702.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --- On Tue, 9/16/08, sam thothi wrote: > Can any one please let me know how to read a drop down > through properties file I have two drop downs. I need to > read the drop down values through the properties file . There are a few options; the easiest is probably to get the property in your action, use StringUtils.split() to break it up into an array (list?), and expose the resulting list as an action property. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org