What do you mean by @controller annotation in spring?
@Controller annotation is a specialization of @Component class that allows the implementation class to be detected through classpath scanning. @Controller annotation annotates Classic controllers. @Controller annotation is used in MVC framework in combination with @RequestMapping annotation in request handling.
BY Best Interview Question ON 18 Jan 2019