hi, having stupid question, if any one help out.
/************************************************************************************************/
<%
short counter = 0;
for (int a=0;a<deviceList.length; a++)
{
if(counter == 0 ){
out.print(“<tr>”);
}
%>
<td>
<%=deviceList[a].getImage()%>” />
</td>
<%
counter++;
if(counter == 5 ){
counter = 0 ;
}
}
%>
/************************************************************************************************/
its output some thing like this
1st row 1st element
5 row in 2nd element
i want to display 5 <td> per <tr>
any one ? thanks in advance