Thomas F�rster wrote:
[...]
> The question is, how do I get <sql:rowCount/> into the int-variable?
> Or is there a better way to get multicolored tables?
A second after I sent my previous mail I found the solution. It's much easier
than I thought:
[...]
<% String colors[] = { "#55ffff", "#5555ff" };
int index = 0;
%>
<sql:resultSet id="rset2">
<tr bgcolor="<%=colors[index]%>">
<td><sql:getColumn position="1"/></td>
<td><sql:getColumn position="2"/>
<sql:wasNull>[no description]</sql:wasNull>
</td>
</tr>
<% index ^= 1; %>
</sql:resultSet>
Thomas