JSTL标签学习

来源:互联网 发布:知乎有趣的女朋友 编辑:程序博客网 时间:2024/05/16 09:58

下载链接:http://pan.baidu.com/s/1i3y0lA9

包括jar包,学习手册,以及源码


大概介绍:

标签库的标识符
Core(核心的)  http://java.sun.com/jsp/jstl/core c 
XML processing(针对xml,不用http://java.sun.com/jsp/jstl/xml x
I18N formatting (国际化,不用http://java.sun.com/jsp/jstl/fmt fmt
Database access (数据库,不用http://java.sun.com/jsp/jstl/sql sql
Functions (一些函数) http://java.sun.com/jsp/jstl/functions fn


Core:

运算式标签: <c:out> 、 <c:set> 、 <c:remove> 、 <c:catch> 。

流程控制标签: <c:if> 、 <c:choose> 、 <c:when> 、<c:otherwise> 。
循环控制标签: <c:forEach> 、 <c:forTokens> 。

URL 相关标签: <c:import> 、 <c:url> 、 <c:redirect> 、<c:param>



Functions :

长度函数 fn:length 函数
判断函数 fn:contains 函数
判断函数 fn:containsIgnoreCase
词头判断函数 fn:startsWith 函数
词尾判断函数 fn:endsWith 函数
字符实体转换函数 fn:escapeXml 函数
字符匹配函数 fn:indexOf 函数
分隔符函数 fn:join 函数
替换函数 fn:replace 函数
分隔符转换数组函数 fn:split 函数
字符串截取函数 fn:substring 函数
起始到定位截取字符串函数 fn:substringBefore 函数
小写转换函数 fn:toLowerCase 函数
大写转换函数 fn:toUpperCase 函数
空格删除函数 fn:trim 函数



0 0