JSTL 学习笔记1
http://www.iteye.com/topic/206730
??????<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> ??
?
,这里主要讲"c"
1.<c:out>,相当于<%=XX%>,例如<c:out value="${a}"/>,
优先级是request>session>application,如果3个都有值,则显示request的"a"
? ? ? ? request==<%=request.getAttribute("a")%><br />
??????? session==<%=session.getAttribute("a")%><br />
??????? application==<%=application.getAttribute("a")%><br />??????
?
显示url?a=abc 里的"a"需要<c:out value="${param.a}" />,而不是上述写法
?
如果再加个 step= “ 2 ”那么每次增长为 2 。