posted 21 years ago
Hi,
I am using if tags inside for tag, like this<do:forLoop var="i" from="0" to="<%=v.size()-1%>" step="1">
<br>Element: <%=v.elementAt(i.intValue())%>
<do:forLoop var="j" from="0" to="<%=v1.size()-1%>" step="1">
<if:IfTrue cond="<%= i==j %>" >
<br>Second Element: <%=v1.elementAt(j.intValue())%>
</if:IfTrue>
</do:forLoop>
</do:forLoop>
here v and v1 are vectors
my aim of if tag is checking when (i==j)
But it is not doing it
Can anyone help me
Thanks