2015年10月20日

HTTP请求报头及其处理

摘要: ps:详细说明http://www.cnblogs.com/kkgreen/archive/2011/04/11/2012829.html 阅读全文

posted @ 2015-10-20 15:29 明静 阅读(203) 评论(0) 推荐(0) 编辑

<context:annotation-config/>,<context:component-scan/>,<mvc:annotation-driven/>区分

摘要: 链接:http://blog.csdn.net/baple/article/details/16864175链接:http://blog.csdn.net/Baple/article/details/16864835传统的bean声明:向Spring容器注册AutowiredAnnotationBe... 阅读全文

posted @ 2015-10-20 12:03 明静 阅读(1799) 评论(0) 推荐(0) 编辑

Spring @Resource,@Autowired,@Qualifier的注解注入和区别

摘要: spring2.5提供了基于注解(Annotation-based)的配置,我们可以通过注解的方式来完成注入依赖。在Java代码中可以使用 @Resource或者@Autowired注解方式来经行注入。虽然@Resource和@Autowired都可以来完成注入依赖,但它们之间是有区 别的。首先来看... 阅读全文

posted @ 2015-10-20 10:56 明静 阅读(10705) 评论(1) 推荐(0) 编辑

导航