For iterating over a value you can use the struts2 tag s:iterator:

http://struts.apache.org/2.x/docs/iterator.html

, however if you want a foreach loop you could use fmtl tag c:forEach:

http://java.sun.com/javaee/5/docs/tutorial/doc/bnakh.html#bnakk

HTH
-Cesar


----- Original Message ----
From: Marcos Hernandez <[EMAIL PROTECTED]>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Monday, October 1, 2007 12:14:07 AM
Subject: Where are the logic: tags?

Hi guys
Just today I found out that I miss them... Is there a way to create a for
loop in Struts2? because I think a block of jsp code will not work there,
what is required is a framework tag.

Is the logic tag library gone?

-- 
- Marcos H.
________________________________________
You must be the change you wish to see in the world
~ Gandhi




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

Reply via email to