<s:iterator value="list1" >
<s:iterator value="list" > <s:if test=???????这里不知道怎么写 ? 我想判断的是ordernamber 和 list1的order 是否相等 他们都是字符串的属性>
<s:property value="ordernumber" />
<s:property value="time" />
<s:property value="mark" />
<s:property value="type" />
</s:if></s:iterator> </s:iterator>
------解决方案--------------------
<s:if test="childs[#status.index]==0">
------解决方案--------------------
------解决方案--------------------
<s:iterator value="list1" status="st">
<s:iterator value="list" status="li">
<s:if test="#list1.order==#list.ordernumber">
<s:property value="ordernumber" />
<s:property value="time" />
<s:property value="mark" />
<s:property value="type" />
</s:if>
</s:iterator>
</s:iterator>
------解决方案--------------------
一楼正解
------解决方案--------------------
<s:if test="childs[#status.index]==0">
------解决方案--------------------
<s:iterator value="list1" status="st">
<s:iterator value="list" status="li">
<s:if test="list1[#st.index].order==list[#li.index].ordernumber">
<s:property value="ordernumber" />
<s:property value="time" />
<s:property value="mark" />
<s:property value="type" />
</s:if>
</s:iterator>
</s:iterator>