搭建springmvc环境配置
1.项目pom.xml文件中导入依赖:
2.新建并配置springmvc.xml文件:
3.配置springmvc核心的servlet 以及配置加载mybatis.xml文件
4.新建一个控制器类:
5.Application Servers中开启服务,Reploy发布项目,浏览器中输入 test.action [这里的]
1.项目pom.xml文件中导入依赖:
2.新建并配置springmvc.xml文件:
3.配置springmvc核心的servlet 以及配置加载mybatis.xml文件
4.新建一个控制器类:
5.Application Servers中开启服务,Reploy发布项目,浏览器中输入 test.action [这里的]