永发信息网

An exception occurred processing JSP page

答案:1  悬赏:10  手机版
解决时间 2021-05-17 17:43
  • 提问者网友:山高云阔
  • 2021-05-17 11:27

代码:

<%
List<Hashtable<String,String>>list=

(List<Hashtable<String,String>>)request.getAttribute

("list");
Iterator<Hashtable<String,String>>it=list.iterator();
while(it.hasNext()){
Hashtable<String,String>hash=it.next();
String id=hash.get("id");
%>

报错信息:

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

75: </tr>
76: <%
77: List<Hashtable<String,String>>list=(List<Hashtable<String,String>>)request.getAttribute("list");
78: Iterator<Hashtable<String,String>>it=list.iterator();
79: while(it.hasNext()){
80: Hashtable<String,String>hash=it.next();
81: String id=hash.get("id");


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

最佳答案
  • 五星知识达人网友:风格不统一
  • 2021-05-17 12:12
能把 /Home.jsp at line 103 这行贴来看看么?
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯