Assuming imageList contains String taht are absolute (in application context) path to 
your images, this should work :

<logic:iterate id="item" name="imageList" >
    <html:image  page="<%= item %>" >
</logic:iterate>


Nico.

----- Original Message ----- 
From: "gentyjp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 19, 2003 11:04 AM
Subject: Dynamic html:image 


> 
> 
>      Hi
> 
>   Struts and tags newbie again !!
> 
>   I have a string vector of image name.
> I wish to view them using html:image.
> 
> My question is how can I initialize my page attribute ?
> 
> 
>          <logic:iterate id="item" name="imageList" >
>            <html:image  page="put here the value of my iterator" >
>          </logic:iterate>
> 
>   Thanks
> 
>    Jean-Paul
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to