Below code gives me rows with the same color. How to highlight alternate rows in this table with same color
<logic:iterate id="ulist" name="HomeForm" property="userList">
<tr >
<td class="content"><bean:write name="ulist" property="username" /> </td>
<td class="content"><bean:write name="ulist" property="city" /> </td>
</tr>
</logic:iterate>
I’m using this code: