Hibernate_条件查询客户列表

分析:通过名称查询

实现:

1、在list.jsp中修改

2、修改ListCustomerServlet

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

3、修改Service和Dao

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

猜你喜欢

转载自www.cnblogs.com/yg1024/p/9045125.html