摘要: 1、@Autowired与@Resource区别 (1)@Autowired与@Resource都可以用来装配bean. 都可以写在字段上,或写在setter方法上。 (2)@Autowired默认按类型装配(这个注解是属业spring的),默认情况下必须要求依赖对象必须存在,如果要允许null 值 阅读全文
posted @ 2017-03-23 12:04 jdonson 阅读(269) 评论(0) 推荐(1) 编辑
摘要: 1、Struts2 jar包 struts2-core-2.1.8.1 struts2的核心jar包,不可缺少的 xwork-core-2.1.6 xwork的核心包,由于Struts2是由xwork的延伸 有些类依然关联着 xwork的类 aopalliance-1.0 这个包为AOP提供了最普通 阅读全文
posted @ 2017-03-23 10:52 jdonson 阅读(314) 评论(0) 推荐(0) 编辑