摘要: 项目刚刚换了web层框架,放弃了struts2改用spring3mvc 当初还框架的时候目的比较单纯 springmvc支持rest,小生对restful url由衷的喜欢不用不知道 一用就发现开发效率确实比struts2高 我们用struts2时采用的传统的配置文件的方式,并没有使用传说中的0配置 阅读全文
posted @ 2018-06-15 23:56 阿善9 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 第一章 Hibernate与MyBatis Hibernate 是当前最流行的O/R mapping框架,它出身于sf.net,现在已经成为Jboss的一部分。 Mybatis 是另外一种优秀的O/R mapping框架。目前属于apache的一个子项目。 MyBatis 参考资料官网:http:/ 阅读全文
posted @ 2018-06-15 23:48 阿善9 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 使用步骤: 步骤一、在spring配置文件中引入<tx:>命名空间<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmln 阅读全文
posted @ 2018-06-15 21:57 阿善9 阅读(3025) 评论(0) 推荐(0) 编辑
摘要: No qualifying bean of type [cn.itcast.bos.web.service.base.CourierService] found for dependency: expected at least 1 bean which qualifies as autowire 阅读全文
posted @ 2018-06-15 21:30 阿善9 阅读(230) 评论(0) 推荐(0) 编辑