相关考题
-
单项选择题
可以使用@Autowired为业务逻辑层注入Dao层对象,@Autowired可以与()一起使用,表示根据byName的方式自动装配。
A.@Value
B.@Autowired
C.@Controller
D.@Qualifier -
单项选择题
SSM整合时,可以在业务逻辑层声明Dao层类型的成员变量,并使用()注解实现注入。
A.@Value
B.@Autowired
C.@Controller
D.@Qualifier -
单项选择题
配置Bean有两种方式,一种是使用注解,一种是使用()标签在Spring配置文件中声明。
A.bean
B.mvc:context
C.property
D.mapper
