随笔分类 -  注解

摘要:使用方式: 1、配置中开启扫描 2、添加依赖spring-context(因为spring-webmvc中包含spring-context) 创建对象: @Component普通创建bean对象 @Repository Dao层 @Service Service层 @Controller Contr 阅读全文
posted @ 2022-03-15 09:08 小魏同学呀 阅读(41) 评论(0) 推荐(0)