1.jdk 1.8
2.选择框架 spring Mybatis 数据库用Oracle
3.配置框架 applicationContext.xml springmvc.xml log4 db.pritroctisc web.xml index.jsp SqlMapConfig.xml
4.导jar包 spring 基本jar包 Oracle 连接jar包 springaop mybatis 注解 包 spring整合mybatis jar包
5. 主要功能 通过查询实现对数据库的增删改查
6.难点
6.1list页面的展示 分页 条件分页
6.2 ajax 传值 局部刷新的传值
6.3实现对一个表的两次使用 自连接
6.4 两个表的级联操作
6.5递归删除 ,修改 ,
6.6 批量删除
6.6 多表关联的sql 写法 join 和 子查询
7. 常见bug 404 请求地址 有误
400
500 代码错误
junit 测试 错误:原因: xxoo.xml 中 sql错误 或属性错误
jsp 页面错误 前端 参数和数据库不匹配