问答详情
源自:8-8 使用Cookie实现保存商品浏览记录

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

type Exception report

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

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 114

111:              <b>鎮ㄦ祻瑙堣繃鐨勫晢鍝�</b><br>
112:              <!-- 寰幆寮�濮� -->
113:              <%
114:                 ArrayList<Items> itemlist = itemDao.getViewList(list);
115:                 if(itemlist!=null&&itemlist.size()>0 )
116:                 {
117:                    System.out.println("itemlist.size="+itemlist.size());


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584)
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:52)


提问者:SunShine_Pan 2016-12-13 16:36

个回答

  • SunShine_Pan
    2016-12-27 20:29:01

    Tomcat版本太高,把“,”改成“#”就可以了

  • SunShine_Pan
    2016-12-13 16:41:05

    已找到问题所在!!!