<c:forEach var="counter" begin="1" end="10" step="1" >
<c:out value="${counter-5}"/>
<% System.out.println( "counter= " +
pageContext.findAttribute("counter") ); %>
</c:forEach>
pageContext.findAttribute("counter") ); %>
</c:forEach>