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?
item
could be anything. Did you try with usebean? Did you check what, if any, options are available for item quick fixes? – Corrales