JSTL
Jinbo-Yu1992
这个作者很懒,什么都没留下…
展开
-
jstl fmt标签笔记
引入该标签库的方法为:Java.sun.com/jsp/jstl/fmt" %>fmt:formatDate的输出格式进详细的介绍:2004-5-31 23:59:592004-4-123:59:592004-5-3104-5-312004-5-312004年5月31日2004年5月31日 星期一23:59:59原创 2017-07-16 19:11:08 · 211 阅读 · 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 · 1657 阅读 · 0 评论 -
C:if的使用
select name="sex"> option value="1" c:if test="${user.gendereq 1 }">selectedc:if>>女option> option value="2" c:if test="${user.gendereq 2 }">select原创 2017-07-17 15:18:49 · 374 阅读 · 0 评论 -
El表达式的引入:
taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>转载 2017-07-14 09:42:27 · 5880 阅读 · 0 评论