拦截器可以有多个
搭建环境
不用改,直接finish
复制原来项目的
依赖的包也复制过来
web.xml配置前端控制器
springmvc的配置文件
先创建对应的文件夹
分别创建java和resources俩文件夹
springMvc.xml复制到当前项目的resources文件夹下
上一个项目讲的是异常处理,所以这里把异常处理的代码删掉。
以上环境就搭建完成
应该漏了异常处理的课程