KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've been trying to evaluate if this array list is empty or not but none of these have even compiled: <c:if test="${myObject.featuresList.size == 0 }"> <c:if test="${myObject.featuresList.length == 0 }"> <c:if test="${myObject.featuresList.size() == 0 }"> <c:if test="${myObject.featuresList.length() == 0 }"> <c:if test="${myObject.featuresList.empty}"> <c:if test="${myObject.featuresList.empty()}"> <c:if test="${myObject.featuresList.isEmpty}"> How can I evaluate if an ArrayList is empty?
Tags (comma-separated)
Save Edits
Cancel