Alternate row coor using <c:forEach> tag
843840Nov 4 2007 — edited Nov 5 2007Hello Friends,
I am using <c:forEach> tag to display the content of the arraylist.
This arraylist contains the list of the Material objects which contains the meta data.
Now I want to display the each item in the array list with alternate color.
Eg:
1st row is white and second row is grey and third row again white ....
I know we can do this using the c:choose tag but cant figure out how we can do it.
please help me out with this,
Thanks,
Aniketh