Hi Philip,
it must be in our name ;) . I get exact the same error....
So, when I saw your post I hoped for an answer... but didn't find one yet. ;(
MyJSP:
<table>
<c:forEach var="location" items="${form.locations}">
<tr>
<td><c:out value="${location.locationId}"/></td>
<td><c:out value="${location.locationName}"/></td>
</tr>
</c:forEach>
</table>
result:
javax.servlet.ServletException: Unable to find a value for "locationName" in object of class "java.util.HashMap$Entry" using operator "."
and:
<td>${location.locationId}/></td>
<td>${location.locationName}/></td>
and
<td>${location["locationId"]}/></td>
<td>${location["locationName"]}/></td>
produce similar results
If I leave out the name/id thing and print ${location} I actually get the reference of the object I need (10=org.circe.web.model.Location@9b8ff9/>).I quess you get the same result. So the question is why, if we invoke another method on the bean then toString(), we get the error that the actual object can not be found?
Let me know if you found something, I will do the same
Philip.
Which produces
javax.servlet.ServletException: Unable to find a value for "locationId" in object of class "java.util.HashMap$Entry" using operator "."
