Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 39219 invoked from network); 14 May 2008 21:53:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 May 2008 21:53:04 -0000 Received: (qmail 47059 invoked by uid 500); 14 May 2008 21:53:04 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 47011 invoked by uid 500); 14 May 2008 21:53:03 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 47000 invoked by uid 99); 14 May 2008 21:53:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2008 14:53:03 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chase@osdev.org designates 65.38.103.38 as permitted sender) Received: from [65.38.103.38] (HELO smtp.osdev.org) (65.38.103.38) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2008 21:52:17 +0000 Received: from gray.osdev.org (adsl-71-144-58-110.dsl.hstntx.sbcglobal.net [71.144.58.110]) by smtp.osdev.org (Postfix) with ESMTP id 185562B5517 for ; Wed, 14 May 2008 16:52:32 -0500 (CDT) Message-ID: <482B5F19.1090401@osdev.org> Date: Wed, 14 May 2008 16:52:25 -0500 From: Chase User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Struts Developers List Subject: Re: How to get elements from a list without using <17241345.post@talk.nabble.com> In-Reply-To: <17241345.post@talk.nabble.com> Content-Type: multipart/alternative; boundary="------------010201020800070002090505" X-Virus-Checked: Checked by ClamAV on apache.org --------------010201020800070002090505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit EL is not the JSTL. EL can be used outside of the JSTL (assuming you are on a recent version of the spec). You might have better luck asking in the correct mailing list. This list is for the development of Struts, not usage. -Chase whitesox12 wrote: > Is there any other way other than using JSTL. As I am trying to use struts > tags only. > > Thanks > > Antonio Petrelli-3 wrote: > >> 2008/5/14 whitesox12 : >> >>> Hi, >>> >>> I have a List that holds only 5 JavaBean Objects. Now I need to show the >>> data on the JSP but don't want to use the >> >>> Is there a way to manually get the List element by index and show data >>> on >>> the page in specific area and then get the next element i.e. List.get(0) >>> then show the data and then List.get(1) etc. without using >>> logic:iterate. >>> >> You could use EL: >> ${myList[0].myProperty} >> >> HTH >> Antonio >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org >> For additional commands, e-mail: dev-help@struts.apache.org >> >> >> >> > > --------------010201020800070002090505--