I have tested JSTL 1.0, 1.0.1, 1.0.2 on PC and Mac, and the position() in xpath always returns 0, instead of the current position of the selected node in x:forEach.
*** This bug has been marked as a duplicate of 14465 ***