代码:
<%
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)