title: How to change Alternate Table Row Colors in struts
body: <p>i'm using <code>&lt;logic:iterator&gt;</code> tag to Display table data like this</p>
  
  <pre><code>    &lt;logic:iterate id="LT" name="lastToken" scope="request"&gt;
          &lt;tr&gt;
            &lt;td class="TblHometd"&gt;&lt;bean:write name="LT"  property="tokennumber" format="#"/&gt;&lt;/td&gt;
            &lt;td class="TblHometd"&gt;&lt;bean:write name="LT"  property="adjustmenttime" format="hh:mm:ss"/&gt;&lt;/td&gt;
            &lt;td class="TblHometd"&gt;&lt;bean:write name="LT"  property="actualfinishedtime" format="hh:mm:ss"/&gt;&lt;/td&gt;
            &lt;td class="TblHometd"&gt;&lt;bean:write name="LT"  property="consultationtype"/&gt;&lt;/td&gt;
            &lt;td class="TblHometd"&gt;&lt;bean:write name="LT"  property="mobileno" format="#"/&gt;&lt;/td&gt;
            &lt;td class="TblHometd"&gt;&lt;bean:write name="LT"  property="consultationstatus"/&gt;&lt;/td&gt;
            &lt;td class="TblHometd"&gt;&lt;bean:write name="LT"  property="smsstatus"/&gt;&lt;/td&gt;
          &lt;/tr&gt;
     &lt;/logic:iterate&gt;
  </code></pre>
  
  <p>now i want to change <code>background color for alternate rows</code> how can i do this ????</p>
  
  <p>thanks in advance</p>