2012年7月11日

JSTL标签<c:choose> <c:when> <c:if>

摘要: 1.<c:if>用于实现 java 中的 if 语句功能。<c:if test=”${list.fenhuo==1}”> <td><font color="red">${list.fenhuo}</font></td></c:if>如果test为true时,单元格的字体设置为红色。2.<c:choose><c:when><c:otherwise>经常一块使用,例如下面我工作中遇到的<c:choose><c:when test=" 阅读全文

posted @ 2012-07-11 15:34 正在奋斗 阅读(2133) 评论(0) 推荐(0) 编辑

导航