What is the use of @controller in spring?



What is the use of @controller in spring?..

Answer / Nivedita Bhatt

@Controller in Spring is a stereotype for defining classes that handle HTTP requests and responses, typically as part of an MVC application. It extends the functionality provided by the @Component annotation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is ioc?

1 Answers  


What is autowired in spring mvc?

1 Answers  


What is the use of spring boot application? : Spring Boot

1 Answers  


What is spring mvc?

1 Answers  


What is controller in spring mvc framework?

1 Answers  


What is wiring in spring?

1 Answers  


What is aop in spring?

1 Answers  


Why should we use spring?

1 Answers  


What is bean in spring with example?

1 Answers  


What is called preparedstatementcreator?

1 Answers  


What is the difference between spring batch and spring boot? : Spring Boot

1 Answers  


What is pojo class in spring?

1 Answers  


Categories