Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Wednesday, December 5, 2007

java code for JSTL: another for each and status

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

<%
synchronized (pageContext) {
String[] names = {"Joe", "Rosy", "Petter", "Rob"};
pageContext.setAttribute("names", names, PageContext.PAGE_SCOPE);
}
%>



forEach and status



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



Family member # is




No comments: