Get list of length l, EL expression get the length of the list, EL expression list acquired size

Jsp pages can not take $ {list.size} list length, but 
<% @ taglib URI = "http://java.sun.com/jsp/jstl/core" prefix = "C"%> 
<% taglib prefix = @ "Fn" URI = "http://java.sun.com/jsp/jstl/functions"%> 

List of length: $ {fn: length (list  )}

 
 

Guess you like

Origin www.cnblogs.com/lxl57610/p/11015291.html