Hibernate_条件查询客户列表
分析:通过名称查询
实现:
1、在list.jsp中修改


2、修改ListCustomerServlet

首先获取cust_name,增加条件:若不为空,则模糊搜索,再调用Service方法,结果放到request域并转发。
3、修改Service和Dao




4、查询回显(${param.xxx})

分析:通过名称查询
实现:
1、在list.jsp中修改


2、修改ListCustomerServlet

首先获取cust_name,增加条件:若不为空,则模糊搜索,再调用Service方法,结果放到request域并转发。
3、修改Service和Dao




4、查询回显(${param.xxx})
