That worked fine thank you very much.

>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Itetaring over an array list of bean values
>Date: Wed, 3 Oct 2001 00:24:51 -0700
>MIME-Version: 1.0
>Received: from [64.125.133.20] by hotmail.com (3.2) with ESMTP id MHotMailBD84081400384136E816407D851408D00; Wed, 03 Oct 2001 00:24:04 -0700
>Received: (qmail 73739 invoked by uid 500); 3 Oct 2001 07:23:18 -0000
>Received: (qmail 73731 invoked from network); 3 Oct 2001 07:23:17 -0000
>Received: from mms.tumbleweed.com (HELO mms-rc.tumbleweed.com) (64.41.172.2) by daedalus.apache.org with SMTP; 3 Oct 2001 07:23:17 -0000
>Received: from 10.1.5.1 by mms-rc.tumbleweed.com with SMTP (Tumbleweed MMS SMTP Relay (MMS v5.0)); Wed, 03 Oct 2001 00:23:43 -0700
>Received: from username ([172.17.1.232]) by hawaii.tumbleweed.com ( Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-67083U1500L100S0V35) with SMTP id AAA458 for <[EMAIL PROTECTED]>; Wed, 3 Oct 2001 00:22:57 -0700
>From struts-user-return-18231-cn081 Wed, 03 Oct 2001 00:25:47 -0700
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>list-help:
>list-unsubscribe:
>list-post:
>Delivered-To: mailing list [EMAIL PROTECTED]
>X-Server-Uuid: 6E802067-ECFC-4FC2-A617-DD5220DD9CBB
>Message-ID: <026701c14bdc$7dbfe1a0$[EMAIL PROTECTED]>
>References: <[EMAIL PROTECTED]>
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook Express 5.50.4807.1700
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
>X-WSS-ID: 17A46375168805-01-01
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>Try something like this:
>
>
>
> ">> height='<%= img.getHeight() %>'
> width='<%= img.getWidth() %>' />
>
>
>
>That is, specify the type of entries you are iterating over, and use
>scripting expressions to access the bean properties.
>
>Hope this helps.
>
>--
>Martin Cooper
>
>
>----- Original Message -----
>From: "chiji nwankwo" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, October 02, 2001 1:10 PM
>Subject: Itetaring over an array list of bean values
>
>
> > Hi,
> >
> > I have a bean that encapsulates the properties needed to render an image
>(border, height, width etc).
> >
> > I want to able to use the values stored in this bean as attribute values
>for the struts img tag.
> >
> > Eg
> >
> > ArrayList images = new ArrayList();
> >
> > images.add( new Image( "pix", "22", "43" ) );
> > images.add( new Image( "pix", "22", "43" ) );
> > images.add( new Image( "pix", "22", "43" ) );
> >
> > . . . . . . . .
> >
> > I then want to do the following
> >
> >
> >
> >
> >
> >
> >
> > I do have the array list stored in a scope that my jsp page can acess. I
>don't know if this is possible.
> >
> > Thanks
> >
> > Chiji
> >
> >
> >
> >
> >
> >
> > --------------------------------------------------------------------------
>------
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
> >
>
>


Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to