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" >
结果报了上面的异常,我曾经也碰到过,但一直不知道什么原因,请高手指点
我在JSP页面
HashMap <String,Integer> map=(HashMap <String,Integer>)session.getAttribute("map");
session.setAttribute("map2",map);
然后在foreach 迭代标签中: <c:forEach items="${sessionScope.map2.keySet()}" var="name" >
结果报了上面的异常,我曾经也碰到过,但一直不知道什么原因,请高手指点
解决方案 »
- jsp:include 引入页面跳转返回问题 请求大家帮助!!谢谢!!
- 在线等 急Eclipse报错:HTTP Status 500 -
- 帮我想想能是什么样的错误。
- <html:text >中的抓取问题
- 是先写好Struts的配置文件再去编写一个个的Action还是反过来?
- ## 鼠标事件导致jvm crash? 求救!!
- An unexpected exception has been detected in native code outside the VM
- 给个简单实例:将Rs()用ArrayList()形式返回?JavaBean+Jsp!
- JadoNet请过来
- 在JAVABEAN中怎么返回RESULTSET?急急!!!
- 在jsp中<%!....%>的重写init()和另外一个销毁是执行的(名忘了),在jsp引擎执行我覆盖的方法,不会出什么问题吧?
- java操作excel的问题
${item.key} ${item.value}
</c:forEach>