<%-- JSTL foreach tag example to loop an array in jsp --%>
<c:forEach var="window" items="${listOFSchools}">
<c:out value='${window.school_id }'/>
<%
SchoolDisplayService CDS = new SchoolDisplayService();
List<Schooltable> list = CDS.getSchools(window.school_id );
%>
我想将从数组列表“listOFSchools”中获取的 school_id 传递给方法 getSchools()。我怎样才能做到这一点?