In my servlet:
request.setAttribute("list", myList);
In my Jsp:
<c:forEach var="item" items="${list}">
${item.name} and ${item.address}
</c:forEach>
How do I get autocompletion for item.name
and item.address
in IDE (IntelliJ)?
Can I use <jsp:useBean>
for any other feature to make the type of 'item' explicit?