Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コレクション (リスト) のサイズ (長さ) を取得することはできますか?WITHOUTusing functions
WITHOUT
using functions
今できる唯一の方法は 、Java クラスでリストの totalSize を取得するメソッドを作成し、それを JSP で使用することです。
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> ... <c:out value="${fn:length(yourCollection)}"/>