Hi all.
I am getting more than 100 regards from database and print in a JSP by 15 regards per Page. Its is working fine. Now i want to set alternative Row background color. I print all the rows between the <logic:iterator> in Struts. any one help me. Here i am putting my code also. welcome anyone to give correct code also, <logic:iterate id="collection" name="DFThreadForm" scope="session" property="selectRegsList" > <tr bgcolor="#c2c2c2"> <td align="left"> <a href="ShowThread.do?messageId=<bean:write name="collection" property="messageId"/>"> <bean:write name="collection" property="topic"/> </a> </td> <td align="center"> <bean:write name="DFThreadForm" property="projectName"/> </td> <td align="center"><bean:write name="collection" property="enteredDate"/></td> </tr> </logic:iterate> Thanks in Advance Regs., senthil