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