JSTL
Jinbo-Yu1992
这个作者很懒,什么都没留下…
展开
-
jstl fmt标签笔记
引入该标签库的方法为: Java.sun.com/jsp/jstl/fmt" %> fmt:formatDate的输出格式进详细的介绍: 2004-5-31 23:59:59 2004-4-1 23:59:59 2004-5-31 04-5-31 2004-5-31 2004年5月31日 2004年5月31日 星期一 23:59:59原创 2017-07-16 19:11:08 · 206 阅读 · 0 评论 -
EL表达式的 if else
c:choose > (EL表达式 使用if else的条件) c:when test="${list.replyContent!=null}">已回复c:when>(if条件 如果成立就在页面输出已回复) c:otherwise>c:otherwise>(else 否则不输出,想要输出的话可以再 标签中加具体的输出内容) c:choose>转载 2017-07-14 09:43:08 · 1650 阅读 · 0 评论 -
C:if的使用
select name="sex"> option value="1" c:if test="${user.gender eq 1 }">selectedc:if>>女option> option value="2" c:if test="${user.gender eq 2 }">select原创 2017-07-17 15:18:49 · 371 阅读 · 0 评论 -
El表达式的引入:
taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>转载 2017-07-14 09:42:27 · 5866 阅读 · 0 评论