/** * 对Date的扩展,将 Date 转化为指定格式的String ... Read More
posted @ 2011-09-26 17:40
七郎
Views(8468)
Comments(0)
Diggs(0)
JSTL与EL表达式(为空判断)一、循环遍历集合1、在jsp中引入标准函数声明<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 2、若要判断集合的大小,则需要引入如下声明<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>3、如何使用jstl判断集合是否为空${user}为集合,user为集合名<c:if test=&qu Read More
posted @ 2011-09-26 14:18
七郎
Views(1159)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号