摘要: 1.xml中导入jar包 2.在web.xml中配置前置控制器 3.创建一个MyHandler类,并继承Controller 4.创建springmvc.xml,并在springmvc中配置HandlerMapping,Handler和视图解析器 5..在index.jsp页面上显示 SpringM 阅读全文
posted @ 2020-03-24 13:43 旺仔木子李 阅读(125) 评论(0) 推荐(0)
摘要: 第五章SpringMVC基础 持久层 :Mybatis 、dao(JDBC) 业务层:Spring AOP 切入到业务层 杂糅层 :Spring:bean 、注入、aop 控制层:Servlet、Spring MVC 常用注解 @Controller @Service @Repository @Co 阅读全文
posted @ 2020-03-24 13:41 旺仔木子李 阅读(122) 评论(0) 推荐(0)
摘要: SSM整合笔记 控制层-Springmvc: web.xml springmvc.xml 业务层-Spring aop,事务:applicationContext-transaction.xml 持久层-mybatis:mybatis-config.xml , db.properties, appl 阅读全文
posted @ 2020-03-24 13:23 旺仔木子李 阅读(119) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-03-24 13:11 旺仔木子李 阅读(144) 评论(0) 推荐(0)