<js....>
var id = 3;
<%Map map = session.getAttribute("map")%>
var value = "<%map.get(2)%>";
</js...>怎么样把2换成id