首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

纠结的有关问题:小弟我做的一个网上竞拍的系统,在自己的电脑上运行完全OK,到了别人电脑上运行,就出错了,报错的代码位置小弟我实在看不出错在哪里.

2012-01-20 
纠结的问题:我做的一个网上竞拍的系统,在自己的电脑上运行完全OK,到了别人电脑上运行,就出错了,报错的代码

纠结的问题:我做的一个网上竞拍的系统,在自己的电脑上运行完全OK,到了别人电脑上运行,就出错了,报错的代码位置我实在看不出错在哪里...
<%
final String jspUrl="GoodListServlet";
 %>
<jsp:include page="splitpage.jsp">
<jsp:param name="jspUrl" value="<%=jspUrl%>"/>
<jsp:param name="lineSize" value="<%=request.getAttribute("lineSize")%>"/>
<jsp:param name="allRecorders" value="<%=request.getAttribute("allRecorders")%>"/>
<jsp:param name="keyWord" value="<%=request.getAttribute("keyWord")%>"/>
<jsp:param name="currentPage" value="<%=request.getAttribute("currentPage")%>"/>
</jsp:include>


严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /goodlist.jsp(25,38) Attribute value request.getAttribute("lineSize") is quoted with " which must be escaped when used within the value
我看不出这个地方有什么错,而且在我电脑上360浏览器下,是没问题的。
别人也用的是360浏览器却抛出了这个异常。。。
求指点~

[解决办法]
"<%=request.getAttribute("lineSize")%>"

"<%=request.getAttribute('lineSize')%>"

热点排行