为了账号安全,请及时绑定邮箱和手机立即绑定

错误,给看看,谢谢

HTTP Status 500 - An exception occurred processing JSP page /details.jsp at line 106

type Exception report

message An exception occurred processing JSP page /details.jsp at line 106

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /details.jsp at line 106

103:                   }
104:               }
105:               Cookie cookie = new Cookie("ListViewCookie",list);
106:               response.addCookie(cookie);
107:          
108:           %>
109:           <!-- 娴忚杩囩殑鍟嗗搧 -->


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:588)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

root cause

java.lang.IllegalArgumentException: An invalid character [44] was present in the Cookie value
org.apache.tomcat.util.http.Rfc6265CookieProcessor.validateCookieValue(Rfc6265CookieProcessor.java:162)
org.apache.tomcat.util.http.Rfc6265CookieProcessor.generateHeader(Rfc6265CookieProcessor.java:111)
org.apache.catalina.connector.Response.generateCookieString(Response.java:989)
org.apache.catalina.connector.Response.addCookie(Response.java:937)
org.apache.catalina.connector.ResponseFacade.addCookie(ResponseFacade.java:384)
org.apache.jsp.details_jsp._jspService(details_jsp.java:236)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)


正在回答

3 回答

你看你的代码啊 details.jsp的106行

0 回复 有任何疑惑可以回复我~

我的也是这个错误呢  请问你怎么解决的


0 回复 有任何疑惑可以回复我~

这个问题解决了吗?

0 回复 有任何疑惑可以回复我~
#1

慕数据1757170 提问者

解决了谢谢
2017-04-17 回复 有任何疑惑可以回复我~
#2

_浓雾不消残酒_0 回复 慕数据1757170 提问者

请问您这个问题是如何解决的呢?我这里也报了相同的错误
2017-04-30 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

错误,给看看,谢谢

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信