zoukankan      html  css  js  c++  java
  • JSTL标签分类

    <c:>核心标签库:共有13个,功能分4类

      1、表达式控制标签: out、set、remove、catch

      2、流程控制标签: if、choose、when、otherwise

      3、循环标签: forEach、forTokens

      4、URL操作标签: import、url、redirect

    <fmt:>格式化标签库:

      1、格式化标签: formatNumber、formatDate、parseDate、parseNumber、setTimeZone、timeZone

      2、国际化标签: setLocale、requestEncoding、bundle、message、param、setBundle

    <fn:>Function标签库:

      1、fn:contains(String source, String target) ---------boolean;(包含)

      2、fn:containsIgnoreCase(String source, String target) -------boolean; (包含、忽略大小写)

      3、fn:startsWidth(String source, String target) ------boolean;(以...开头)

      4、fn:endsWidth(String source, String target) ------boolean;(以...结尾)

      5、fn:indexOf(String source, String target) ------int;(查找)

      6、fn:replace(String source, String before, String after) ------String;(替换)

      7、fn:substring(String source, int beginIndex, int endIndex) ------String;(截取、前包后不包)

      8、fn:substringBefore(String source, String target) ------String;(之前)

      9、fn:substringAfter(String source, String target) ------String;(之后)

      10、fn:split(String source, String delimiter) ------String[];(分隔符)

      11、fn:join(String source[], String separator) ------String;

      12、fn:toLowerCase(String source) ------String;(小写)

      13、fn:toUpperCase(String source) ------String;(大写)

      14、fn:trim(String source) -----String;(去空格)

      15、fn:escapeXml(String source) ------String;(字符转义)

      16、fn:length(source) ------int;(个数)

      

  • 相关阅读:
    python3安装crypto出错,及解决方法
    php中的引用
    算法
    HTTP协议
    jdk 1.8 InvocationHandler 中文注释
    Java实现多线程的几种方法
    shell编写显示ps相关脚本
    逆波兰表达式求值(后序表达式)
    155. 最小栈(leetcode简单题)
    字符串逆序
  • 原文地址:https://www.cnblogs.com/caicaidandan/p/4720392.html
Copyright © 2011-2022 走看看