I am new to JSP/JSTL.
I have set a HashMap on request as follows
HashMap <String, Vector> hmUsers = new HashMap<String, Vector>();
HashMap hmUsers = eQSessionListener.getLoggedinUsers();
request.setAttribute("currentLoggedInUsersMap", hmUsers);
I am alerting HashMap in My jsp as follows
<script> alert("<c:out value = '${currentLoggedInUsersMap}' />"); </script>
All works as per my expectations till now.
But if I try to get key of this HashMap as follow then nothing is alerted.
<script> alert("<c:out value = '${currentLoggedInUsersMap.key}' />"); </script>
Is there anything I am going wrong?
Thanks in advance.