Hi, In my JSP Page I have a html table. The table contains rows which are fetched from the database dynamically. I want to set different colors for the rows. Say for even number of rows I want to set red color. for odd number os rows I want to set green color. Is it possible to set like that. If yes could please anyone help me out how to do?Sorry for my bad Engling.I hope you got the problem understand. Thanks in Advance
Therefore when you are writing out the rows with your sever side language in the database, that is when you need to assign the colors. Just check if the row is even or odd to determine what color you are to display.