The jsp page gets the length of the list collection passed from the background

Import function tag library in jsp page

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 

The length of the list is:

${fn:length(list)}

Instead of using ${list.size} to get the length of the list
in the jsp page.

Reprinted from: http://blog.csdn.net/qq441568267/article/details/54091015

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325565859&siteId=291194637