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

来源:8-8 使用Cookie实现保存商品浏览记录

SunShine_Pan

2016-12-13 16:36

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)


写回答 关注

2回答

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

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

    慕数据175... 回复qq__35...

    要改三个地方,java程序里面的也要改

    2017-03-21 21:02:47

    共 4 条回复 >

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

    已找到问题所在!!!

    qq_啊bi...

    怎么弄

    2016-12-27 15:01:06

    共 1 条回复 >

JAVA遇见HTML——JSP篇

Java Web入门级教程JSP,带你轻松的学习JSP基础知识

248278 学习 · 3071 问题

查看课程

相似问题