摘要: 一、注解理论 使用注解来构造IoC容器 用注解来向Spring容器注册Bean。需要在applicationContext.xml中注册<context:component-scan base-package=”pagkage1[,pagkage2,…,pagkageN]”/>。 如:在base-p 阅读全文
posted @ 2016-05-30 21:20 红酒人生 阅读(799) 评论(0) 推荐(0) 编辑