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

131超连接这里出问题。

org.apache.jasper.JasperException: An exception occurred processing [/details.jsp] at line [131]

128:                 <div>
129:                     <dl>
130:                         <dt>
131:                             <a href="details.jsp?id=<%=i.getId()%>"><img src="images/<%=i.getPicture() %>" width="120" height="90" border="1"/></a>
132:                         </dt>
133:                         <dd class="dd_name"><%=i.getName() %></dd>
134:                         <dd class="dd_city">浜у湴:<%=i.getCity() %>&nbsp;&nbsp;浠锋牸:<%=i.getPrice() %> 锟� </dd>


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:607)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:496)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

index.jsp没问题,图片什么的都可以显示


莫名其奥妙又好了,真奇怪。

提问者:苍蝇拍拍 2018-11-27 16:40

个回答

  • qq_慕勒3129508
    2019-11-30 09:11:37

    肯定是没保存