commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thakkar, Hetal" <hetal.thak...@citigroup.com>
Subject while constructs
Date Mon, 25 Aug 2003 21:14:23 GMT
I am trying to use while. But unfortunately, I could not find any example on Jelly's website.
Could anyone let me know, how "while" constuct works in Jelly? 

I tried the following but it does not work:

<j:set var="iterations" value="${3}"/>	          	
<j:while test="${iterations} > 0">
	<j:set var="iterations" value="${iterations - 1 }"/>
	<log:info>${iterations}</log:info>
</j:while>

Thanks,
Hetal

Mime
View raw message