问题:我是想在index.jsp中把一个list传给 departmentList.jsp,然后再循环显示index.jsp <iframe width="870" src="zhanghao/departmentList.jsp?v=${requestScope.typeList}" border="0" frameborder="0" scrolling="no">
</iframe>
departmentList.jsp <c:forEach var="department" items="<%=request.getParameter("v") %>">
报错
/zhanghao/departmentList.jsp(24,43) Attribute value request.getParameter("v") is quoted with " which must be escaped when used within the value
</iframe>
departmentList.jsp <c:forEach var="department" items="<%=request.getParameter("v") %>">
报错
/zhanghao/departmentList.jsp(24,43) Attribute value request.getParameter("v") is quoted with " which must be escaped when used within the value
解决方案 »
- jsp+mysql运行出现以下问题
- Spring Security3.x : j_spring_security_check not found HTTP ERROR 404
- 熟悉苏州的朋友请进——苏州软件行业怎么样?
- 我安装的MYSQL上面只有org.gjt.mm.mysql.Driver,却没有com.mysql.jdbc.driver怎么办?
- Struts和JRun4.0整合的问题!急!
- Java中值的类型转换有哪些方法?
- 用了好多办法无法解决的jsp中文乱码问题
- 请问哪里有免费的JSP空间,谢谢!!!
- 大哥们,快帮帮我把?
- Dao和Service都用了基类,非通用类写在专属service出错,写在action正常
- 水晶报表图表中的中文显示乱码
- 急急急!!!!!!!!!!!
url参数传不了list值
引号错了
双引号里面要用单引号
这样才行
你自己测试 在下定论 我都把list里元素的地址取出来啦,cfd406635982
request.getParameter() 里参数类型是String 怎么能用''号呢,别乱说String javax.servlet.ServletRequest.getParameter(String name)
/zhanghao/departmentList.jsp(24,43) Attribute value request.getParameter("v") is quoted with " which must be escaped when used within the value下个金山词霸我懒得和你说
你说引号错啦 能给正确的写法吗