This just one example from.
Or maybe like this one.<logic:iterate id="mapEntry" name="yourHashMap"> <bean:define id="gift" name="mapEntry" property="value"> <tr> <td><bean:write name="mapEntry" property="key"></td> <td><bean:write name="gift" property="productName"></td> <td><bean:write name="gift" property="price"></td> </tr> </logic:iterate>
<s:iterator value="YourListMap" status="stat"> <tr> <th><s:property value="#stat.index"/></th> <td><s:property value="key"/></td> <td><s:property value="value"/></td> </tr> </s:iterator>
No comments:
Post a Comment