title: Alternating table row color?
body: <p>When generating html tabular data, I just wanted to hear what methods you use to alternate the table row color?  For my purposes, I am using Java and JSPs on the backend.  I was just planning on looping through the data and if <code>index % 2 == 0</code> set it to one color <code>else</code> set it to something else.  Is this ok?  Maybe it would be better if I used some sort of tag library?</p>