📜  jstl 长度 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:16.800000             🧑  作者: Mango

代码示例1
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>  
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>  
  
  
JSTL fn:length() example  
  
  
  
  
Length of the String-1 is: ${fn:length(str1)}
Length of the String-2 is: ${fn:length(str2)}