摘要: 整合过程和XML版的大抵相同 直接整合: 第一步:引入节点(与上一篇的节点相同) 第二步:分层 @Repository("deptDao") public class DeptDaoImpl implements IDeptDao { @Resource(name = "sessionFactory 阅读全文
posted @ 2018-03-05 15:27 哈喽小伙 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 整合步骤: 一:引入节点 二:搭建分层 三:配置文件 四:web.xml 五:action层 六:UI层 第一步:引入节点(整合节点) <!-- struts2整合spring --> <dependency> <groupId>org.apache.struts</groupId> <artifa 阅读全文
posted @ 2018-03-05 15:03 哈喽小伙 阅读(499) 评论(0) 推荐(0) 编辑