ssm框架的整合
SSM框架整合准备工作原始方式整合 在mysql中创建ssm数据库和account表CREATE TABLE `account` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(50) DEFAULT NULL, `money` double DEFAULT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8; 创建maven工程 新建itheima_ssm的project, 并配置webapp文件夹, 在java下创建com.itheima.controller、service、domain、mapper、utils文件夹 在webapp文件夹下创建index.jsp, save.jsp 项目结构如下: 导入坐标 在pom.xml中导入响应的坐标<!--spring相关--><dependency> <groupId>org.springframework</groupId> ...





