双嵌套判断值
<s:iterator value="#session.findAllProcessingAsingleInformation">
<td width="9%"><select name="processingAsingle.psthBrand" id="Brand" style="width:65px" onChange="findpurchasingThemThe()" >
<option value="">请选择</option>
<s:iterator value="#session.findfindPurchasingThemTheForBrandListInformation" id="Number" >
<option value="<s:property value="Number"/>" <s:if test='%{psthBrand==Number}'>selected="selected"</s:if> ><s:property value="Number"/></option>
</s:iterator>
</select></td>
</s:iterator>
psthBrand是session.findAllProcessingAsingleInformation里面读取的值,Number是session.findfindPurchasingThemTheForBrandListInformation里面读取的值,现在要在<s:if>里面判断如果这2个值相等就选择,求指引,感觉外面不嵌套另外一个<s:iterator>就行 嵌套了难道实现不了么?