What does @controller do in spring?



What does @controller do in spring?..

Answer / Vinod Kumar Kanaujia

@Controller is a component-scanning annotation in Spring MVC. It identifies classes that should be processed by the @ComponentScan annotation as Spring MVC controllers.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

Explain the concept of dispatcher servlet.

1 Answers  


What is the use of application context in spring?

1 Answers  


What is web module?

1 Answers  


What is @service annotation in spring?

1 Answers  


What are the spring boot starters? : Spring Boot

1 Answers  


How many types of autowiring are there in spring?

1 Answers  


What is application context in spring mvc?

1 Answers  


Why do we use @override?

1 Answers  


What is cdi in spring?

1 Answers  


What is context getbean?

1 Answers  


What is the role of multipart resolver and when is it used?

1 Answers  


What is the meaning of cross cutting concerns?

1 Answers  


Categories