I have a bean with a method that returns a Result object. I've named the method getSuppliers() in accordance with Bean practices. I'm trying to access the results in my jsp as follows:
<jsp:useBean id="suppliers" class="npp.SuppliersAndContracts" scope="session"/>
<c:forEach var="item" items="${suppliers.suppliers}">
<c:out value="${item.id}"/>
</c:forEach>
However, I'm getting the following error:
Don't know how to iterate over supplied "items" in <forEach>
Am I missing something simple?
Thanks!!!