I believe you just treat it as with any other collection:

<logic:iterate name="stringArrayVariable" id="aString">
<bean:write name="aString"/>
</logic>

Daniel.

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of Lachdanan
Sent: 06 April 2004 00:29
To: [EMAIL PROTECTED]
Subject: logic:iterate over an array of Strings


Hello, could anyone help me? I want to iterate over a String[]. This should
be possible according to the Jakarta Struts User Guide

"The collection to be iterated over MUST conform to one of the following
requirements in order for iteration to be successful:

  a.. An array of Java objects or primitives. "
But the examples only are about objects with attributes.

Some advice would be great! Thx

Joe




---------------------------------------------------------------------
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