<c:foreach jsp iterate over list
问题 I have searched several examples, still have not get. I am passing an List of GOOD object from controller into jsp pages. trying to loop over the list object, but its showing only one element repeatedly. should I use beans? If yes, could you provide more specific example for my case. <c:if test="${not empty listGood}"> <c:forEach var="ob" varStatus="status" items="${listGood}"> <tr> <td><c:out value="${ob.name}"/></td> <td><c:out value="${ob.measure}"/></td> <td><c:out value="${ob.quantity}"/