i want to apply the css to the thr alternatily in jsp page. below is my code.
<c:forEach var="aff" items="${report}">
<tr class="**tital_black_second**">
<input type="hidden" id="org_id" value="${aff.org_id}">
<td width="74" class="td_text"> </td>
<td width="173" class="heading3 td_text">${aff.string}</td>
<td width="168" class="td_text text3">${aff.posted}</td>
<td width="134" class="td_text text3">${aff._sold}</td>
<td width="118" class="td_text text3">${aff.of_commision}</td>
<td width="126" class="td_text text3">${affl}</td>
<td width="115" class="td_text text3"></td>
<td width="129" class="td_text text3"> </td>
</tr>
</c:forEach>
for each tr alternately i want to apply the class i.e when one tr is drawn ,i want class="tital_black_second" and when second is drawn class="tital_black_first".
How i can achieve this.
Thanks in Advance.