Link to home
Start Free TrialLog in
Avatar of Nika Gudge
Nika GudgeFlag for United States of America

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
ASKER CERTIFIED SOLUTION
Avatar of rrz
rrz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial