Thanks for your response, it worked.  Martin Cooper showed me another way to do it heres the example.

<logic:iterate ...name="images" id="img" type="your.package.Image" .. ..>

     <html:img name='<%= img.getName() %>'
          height='<%= img.getHeight() %>'
          width='<%= img.getWidth() %>' />

</logic:iterate>

Thanks

Chiji

>From: Don Saxton <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: IM IN DESPARATE NEED OF SOME HELP USING THE ITERATE TAG!!!
>Date: Tue, 02 Oct 2001 16:07:09 -0700
>MIME-Version: 1.0
>Received: from [64.125.133.20] by hotmail.com (3.2) with ESMTP id MHotMailBD839427007640043190407D851405750; Tue, 02 Oct 2001 16:09:27 -0700
>Received: (qmail 12461 invoked by uid 500); 2 Oct 2001 23:08:55 -0000
>Received: (qmail 12447 invoked from network); 2 Oct 2001 23:08:54 -0000
>Received: from mta5.snfc21.pbi.net (HELO snfc21.pbi.net) (206.13.28.241) by daedalus.apache.org with SMTP; 2 Oct 2001 23:08:54 -0000
>Received: from euphobot ([64.170.69.114]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with SMTP id <[EMAIL PROTECTED]> for [EMAIL PROTECTED]; Tue, 02 Oct 2001 16:09:01 -0700 (PDT)
>From struts-user-return-18218-cn081 Tue, 02 Oct 2001 16:11:02 -0700
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>list-help:
>list-unsubscribe:
>list-post:
>Delivered-To: mailing list [EMAIL PROTECTED]
>Message-id: <015401c14b96$f6c667e0$[EMAIL PROTECTED]>
>X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
>X-Mailer: Microsoft Outlook Express 5.50.4522.1200
>X-Priority: 3
>X-MSMail-priority: Normal
>References: <[EMAIL PROTECTED]>
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>How about this example? where PersonListForm is the ActionForm subclass.
>
>
>
>
>
>
>
>
>
>
> ----- Original Message -----
> From: chiji nwankwo
> To: [EMAIL PROTECTED]
> Sent: Tuesday, October 02, 2001 2:02 PM
> Subject: IM IN DESPARATE NEED OF SOME HELP USING THE ITERATE TAG!!!
>
>
> 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( "pix1", "22", "43" ) );
> images.add( new Image( "pix1", "22", "43" ) );
> images.add( new Image( "pix1", "22", "43" ) );
>
> . . . . . . . .
>
> My Image class is a bean with the appropriate accessors and mutators.
>
> 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
>
>
>
>------------------------------------------------------------------------------
>
>
> 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