日期:2014-05-16  浏览次数:20349 次

JSTL小结
<c:choose>
		<c:when test="${!empty gangInformation.gainPicture}">
			<c:forTokens items="${gangInformation.gainPicture}" delims="," var="p">
			<c:out value="${p}"/>
			</c:forTokens>
		</c:when>
		<c:otherwise>
		</c:otherwise>
	</c:choose>

http://www.web-tag.net/all_7.htm

1.循环使用 varStatus="c"  ${c.count}得到当前循环的次数

${fn:substring(c.usinCreateDate,"0","10")}  //截取字符串