Thank you Günther, for your help:
Now it works fine!
Jan-Jaap
Günther Wieser wrote:
i think the example in the docs shows you almost everything:
<logic:iterate id="element" name="myhashtable">
Next element is <bean:write name="element" property="value"/>
</logic:iterate>
all you need to do is drop the "property" attribute as an array doesn't have
properties. then it should work fine.
so this is an "array" version:
<logic:iterate id="element" name="myArray">
Next element in array is <bean:write name="element" />
</logic:iterate>
kr,
guenther
--
Günther Wieser
creative-it
Guglgasse 6/1/11/1
A-1110 Wien
Austria
http://www.creative-it.com
-----Original Message-----
From: Jan-Jaap Endenburg - Vera [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 1:50 PM
To: Struts Users Mailing List
Subject: I look for an example of LOGIC:ITERATE that iterates over an ARRAY
Hi everyone,
I look for an example of <logic:iterate> that iterates over an array (of
strings):
I am not sure how to display these array-values in my jsp-page: should this
be done with <bean:write>?
If so: what should I fill for name & property?
Thanks for your help!
Jan-Jaap
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]