I am not sure how the answerer of the other question got it to work, but I can't get it to work here with the reference JSTL implementation.
Anyway, you can achieve the requirement with following:
<c:forEach var="i" begin="0" end="10" step="1">
... ${10 - i} ...
</c:forEach>
Or if you'd like to avoid duplication of 10
:
<c:forEach var="i" begin="0" end="10" step="1" varStatus="loop">
... ${loop.end - i + loop.begin} ...
</c:forEach>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…