java jsp el fn
来源:互联网 发布:java字符串双引号转义 编辑:程序博客网 时间:2024/05/29 03:24
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
fn:contains 判断字符串是否包含另外一个字符串 <c:if test="${fn:contains(name, searchString)}">fn:containsIgnoreCase 判断字符串是否包含另外一个字符串(大小写无关) <c:if test="${fn:containsIgnoreCase(name, searchString)}">
fn:endsWith 判断字符串是否以另外字符串结束 <c:if test="${fn:endsWith(filename, ".txt")}">
fn:escapeXml 把一些字符转成XML表示,例如 <字符应该转为< ${fn:escapeXml(param:info)}
fn:indexOf 子字符串在母字符串中出现的位置 ${fn:indexOf(name, "-")}
fn:join 将数组中的数据联合成一个新字符串,并使用指定字符格开 ${fn:join(array, ";")}
fn:length 获取字符串的长度,或者数组的大小 ${fn:length(shoppingCart.products)}
fn:replace 替换字符串中指定的字符 ${fn:replace(text, "-", "•")}
fn:split 把字符串按照指定字符切分 ${fn:split(customerNames, ";")}
fn:startsWith 判断字符串是否以某个子串开始 <c:if test="${fn:startsWith(product.id, "100-")}">
fn:substring 获取子串 ${fn:substring(zip, 6, -1)}
fn:substringAfter 获取从某个字符所在位置开始的子串${fn:substringAfter(zip, "-")}
fn:substringBefore 获取从开始到某个字符所在位置的子串 ${fn:substringBefore(zip, "-")}
fn:toLowerCase 转为小写 ${fn.toLowerCase(product.name)}
fn:toUpperCase 转为大写字符 ${fn.UpperCase(product.name)}
fn:trim 去除字符串前后的空格 ${fn.trim(name)}
0 0
- java jsp el fn
- java jsp el fn
- java jsp el fn
- Jsp EL表达式中fn函数
- jsp&EL表达式&EL表达式&fn函数库&JSTL标签
- jsp中使用el表达式中的fn函数
- jsp中el表达式的使用(fn标签的使用)
- java JSP EL表达式
- el fn函数收藏
- el 截取fn函数
- EL表达式fn
- EL表达式之fn
- EL表达式 <fn:>
- el表达式 fn
- el fn函数
- Java Jsp中EL表达式
- jsp中常用的EL表达式fn:spilt,将\r\n替换成<br/>
- 在jsp页面中EL多条件判断、${list.size} 和 ${fn:length(list) }
- SpringAOP案例(一)XML方式
- 线程之ReadWriteLock用法
- java.lang.RuntimeException:Can't create handler inside trhead that has not called Looper.prepare
- 如何在visual2012里,调用(或引用)DeleteObject方法
- Linux的inode的理解
- java jsp el fn
- 【移动开发】Android中三种超实用的滑屏方式汇总(ViewPager、ViewFlipper、ViewFlow)
- 苹果公司发布iPhone 5s和iPhone 5c
- sql server 游标使用简示例
- c&c++程序优化几个建议
- ejb3persistence.jar javax.persistence的注解配置
- 虚函数
- vector和list区别【转】
- Windows phone8 获取本机 IP 地址