摘要: 使用注解来构造IoC容器 用注解来向Spring容器注册Bean。需要在applicationContext.xml中注册<context:component-scan base-package=”pagkage1[,pagkage2,…,pagkageN]”/>。 如:在base-package指 阅读全文
posted @ 2015-04-23 20:19 天~宇~翱~翔 阅读(227) 评论(0) 推荐(0)