This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Logic:iterate with an string array

 
Arulanand Dayalan
Ranch Hand
Posts: 126
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I need to iterate over an string array. I have my setter and getter methods declared in FormBean.

In form bean
private String[] first;

//Corresponding setter and getter methods.

In the action i populate the Formbean

I need to iterate this string array and show the result.

Can any one help how to iterate over an string array.

Thanks in advance

Regards,
Arul.
 
Dom Lassy
Ranch Hand
Posts: 181
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<logic:iterate name="FormBean" property="first" id="currentElement">
<bean:write name="currentElement"/>
</logic:iterate>
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic