Map<String, List<Box> boxCatgMap=new HashMap<String, List<Box>>(); <s:iterator value="boxCatgMap" var="boxCatg"> <s:set var="boxCatgKey" value="#boxCatg.key"/> <s:iterator value="boxes" var="box" status="ind"> <s:if test="%{#box.size.equals(boxCatgKey)}"> //some code </s:if></s:iterator> </s:iterator>
# in front of boxCatgKey test="%{#box.size.equals(#boxCatgKey)}"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)