
How Iterate Tag used with a Map ?

Hi friends,
The logic:iterate is a iterator tag of struts tag library. With the help of given code, you can understand how to use iterate tag on map.
<logic:iterate id="book" name="bookForm" property="bookmap"> <tr> <td>Book Id: <bean:write name="book" property="key"/></td> <td>Book price: <bean:write name=" book" property="value"/></td> </tr> </logic:iterate>
thanks.