9
I've got a PersistenceSet and would like to check if it contains a certain variable.
How can I check in the JSTL whether subitem exists or not?
However when I try to access a non-existant variable like this:
<c:if test="${not empty item.subitem}">
<c:out value="${item.subitem}" /><br />
</c:if>
I get a PropertyNotFoundException:
Property 'subitem' not found on type com.company.classname