请高手帮我看一下,怎样获取Map中的值
<%User user1 = new User(1,"tom1","111");
User user2 = new User(2,"tom2","222");
User user3 = new User(3,"tom3","333");
User user4 = new User(4,"tom4","444");
User user5 = new User(5,"tom5","555");
Map<String,User> map = new HashMap<String,User>();
map.put("user1",user1);
map.put("user2",user2);
map.put("user3",user3);
map.put("user4",user4);
map.put("user5",user5);
out.print(map);
pageContext.setAttribute("map",map);
%>
<br>
<c:set target="${map }" property="user1"></c:set><br>
<c:out value="${map }"></c:out><br>
<c:out value="${map.property}"></c:out>