Nika Gudge
asked on
how to check if Map is empty or not
i have a res object which has resultMap. i want a code to check if the resultMap is empty if so then display warning message.
<c:if test='${res.resultMap[0] == "null" && res.resultMap == "null"}'><br/>
<b class="TextWarningText">No Result Found</b>
</c:if>
this does not work
<c:if test='${res.resultMap[0] == "null" && res.resultMap == "null"}'><br/>
<b class="TextWarningText">No
</c:if>
this does not work
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.