摘要: 一、自动扫描 使用Annotation自动注册Bean:在主容器中不扫描@Controller注解,在SpringMvc中只扫描@Controller注解。 1、spring配置文件(扫描注解) 2、springmvc配置文件(扫描注解) 阅读全文
posted @ 2016-07-29 09:52 逝水往昔拂流年 阅读(141) 评论(0) 推荐(0) 编辑