The function keySet must be used with a prefix when a default namespace is not specified ; 
我在JSP页面 
HashMap <String,Integer> map=(HashMap <String,Integer>)session.getAttribute("map"); 
    session.setAttribute("map2",map); 
然后在foreach 迭代标签中: <c:forEach items="${sessionScope.map2.keySet()}" var="name" > 
结果报了上面的异常,我曾经也碰到过,但一直不知道什么原因,请高手指点