1.用户管理系统的登陆功能
1.1 编写Dao层
1.2 编写service接口
1.3实现service接口方法
1.4编写mapper中的sql语句
1.5编写controller层
1.6 修改jsp页面
1.7测试
2.用户管理系统的查询功能 – 全部查询
与上面登录方法相似
2.1 编写Dao层
2.2 编写service接口
2.3实现service接口方法
2.4编写mapper中的sql语句
2.5编写controller层
2.6 修改jsp页面
2.7测试
3.用户管理系统的增加和删除功能
3.1 编写Dao层
3.2 编写service接口
3.3实现service接口方法
3.4编写mapper中的sql语句
3.5编写controller层
3.6 修改jsp页面
3.7测试
4.用户管理系统的修改功能
修改功能需要先查询该数据库有无该用户,所以要先进行查询单个操作
4.1 编写Dao层
4.2 编写service接口
4.3实现service接口方法
4.4编写mapper中的sql语句
4.5编写controller层
4.6 修改jsp页面
4.7测试
5.使用分页插件pageHelper完成页面检索功能的分页
5.1.在Pom.xml中导包
5.2.在ApplicationCntext.xml中把架包告诉给SqlSessionfactory。
5.3.在Service中指定 page和 size
5.4.Controller 把得到的结果封装到 PageInfo中在进行使用ModelAndView返回
5.5修改jsp页面
5.6测试