当前位置: 代码迷 >> JavaScript >> JSTL总结
  详细解决方案

JSTL总结

热度:79   发布时间:2012-11-15 15:16:13.0
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")}  //截取字符串