Related questions
Question 28 - 2V0-72.22 discussion
Which two statements are true about @Controller annotated classes? (Choose two.)
A.
The @Controller annotated classes can only render views.
B.
The classes are eligible for handling requests in Spring MVC.
C.
The classes must be annotated together with @EnableMvcMappings to be discovered via component scanning.
D.
@Controller is interchangeable with @RestController with no extra code changes for the methods inside the class.
E.
The @Controller annotation is a stereotype annotation like @Component.
Your answer:
0 comments
Sorted by
Leave a comment first