Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Wednesday, December 5, 2007

java code for JSTL: for each and scoped variable

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>





forEach and status



The forEach tag exposes a scoped variable called 'count', which
is the position of the current iteration of the collection.



(Note, it is not the position of the element in the
underlying collection)



var="currentName"
varStatus="status"
>
Family member # is




No comments: