1.整体框架
2.多个请求调用同一个Servlet
3.查询:整个MVC的流程
<%
List<Customer> customers = (List<Customer>)request.getAttribute("customers");
if(customers != null && customers.size() != 0){
%>
<br><br>
<hr>
<table border="1" cellpadding="10" cellspacing="0">
<tr><%--tr表示行,td表示列,th表示表头--%>
<th>ID</th>
<th>NAME</th>
<th>Address</th>
<th>Phone</th>
<th>Delete/Update</th>
</tr>
<%
for(Customer customer: customers){
%>
<tr>
<td><%= customer.getId()%></td>
<td><%= customer.getName()%></td>
<td><%= customer.getAddress()%></td>
<td><%= customer.getPhone()%></td>
<td>
<a href="">UPDATE</a>
<a href="delete.do?id=<%= customer.getId()%>" class="delete">DELETE</a>
</td>
</tr>
<%
}
%>
4.模糊查询