You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Graham <gr...@yahoo.com> on 2003/11/05 19:06:45 UTC

Re: Help - Looping with iterate without collection is possible?

--- Henrique VIECILI <vi...@softplan.com.br> wrote:
> Hi,
> 
> can i make a loop using logic:iterate (or any other tag) without
> defining a
> collection to iterate? I just wanna have a 'for' behavior...

The JSTL has a <c:forEach> tag that does this.

http://java.sun.com/products/jsp/jstl/

David

> 
> thanx
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Help - Looping with iterate without collection is possible?

Posted by Henrique VIECILI <vi...@softplan.com.br>.
Thank you a lot!!

It works perfectly! 
(or in Portuguese: "Funcionou Redondo!")

Henrique

----- Original Message ----- 
From: "David Graham" <gr...@yahoo.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, November 05, 2003 3:06 PM
Subject: Re: Help - Looping with iterate without collection is possible?


> 
> --- Henrique VIECILI <vi...@softplan.com.br> wrote:
> > Hi,
> > 
> > can i make a loop using logic:iterate (or any other tag) without
> > defining a
> > collection to iterate? I just wanna have a 'for' behavior...
> 
> The JSTL has a <c:forEach> tag that does this.
> 
> http://java.sun.com/products/jsp/jstl/
> 
> David
> 
> > 
> > thanx
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org