<%@page import="com.atguigu.javaweb.mvc.Student"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<% 
List<Student> stus = (List<Student>)request.getAttribute("students");
%>
 
<table border="1" cellpadding="10" cellspacing="0">

<tr>
<th>FlowId</th>
<th>Type</th>
<th>IdCard</th>
<th>ExamCard</th>
<th>StudentName</th>
<th>Location</th>
<th>Grade</th>
<th>Delete</th>
</tr>

<%for(Student student: stus){%>
<tr>
<td><%= student.getFlowId() %></td>
<td><%= student.getType() %></td>
<td><%= student.getIdCard() %></td>
<td><%= student.getExamCard() %></td>
<td><%= student.getStudentName() %></td>
<td><%= student.getLocation() %></td>
<td><%= student.getGrade() %></td>
<td><a href="deleteStudent?flowId=<%=student.getFlowId() %>">Delete</a></td>
</tr>
<%  }%> 

</table>

</body>
</html>
org.apache.jasper.JasperException: An exception occurred processing JSP page /students.jsp at line 2926:  <th>Delete</th>
27:  </tr>
28: 
29:  <%for(Student student: stus){%>
30:  <tr>
31:  <td><%= student.getFlowId() %></td>
32:  <td><%= student.getType() %></td>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)