Hi,
I'm just learning jstl, and trying a simple thing:
A servlet creates an ArrayList, places it in the request and forwards to a jsp:
request.setAttribute("list", list);
request.getRequestDispatcher("admin.jsp").forward(request, response);
Then in admin.jsp i try to access it, but I get no data at all.
<c:forEach items="${requestScope.list}" var="obj">
<c:out value="${obj.data}"/>
</c:forEach>
I tried the exact same operation with scriptlet and it worked fine, so the list is there. I have no idea why this isn't working.
Any help is appreciated. Let me know if you need more info.