I am trying to iterate over two 2D arrays Org_Positions_IdTitle
and Org_Apps
and print out a field but I keep getting the Attribute var invalid for tag iterator according to TLD
also in my jsp page the var1 and var2 are underlined and it says on the left Undefined attribute name "var".
I would be so thankful if you can help me with that.
<s:iterator value="Org_Positions_IdTitle" var="arr1" >
<s:iterator value="Org_Apps" var="arr2" >
<s:if test="#arr1[0] == #arr2[1] ">
<s:property value="#arr1[1]" />
</s:if>
</s:iterator>
</s:iterator>