![What is difference between controller and restcontroller |Diff between controller and restcontroller - YouTube What is difference between controller and restcontroller |Diff between controller and restcontroller - YouTube](https://i.ytimg.com/vi/mZIj5bdgKio/maxresdefault.jpg)
What is difference between controller and restcontroller |Diff between controller and restcontroller - YouTube
![Spring & Spring Boot Annotations Series - #6 - @Controller, @Service and @Repository Annotations - YouTube Spring & Spring Boot Annotations Series - #6 - @Controller, @Service and @Repository Annotations - YouTube](https://i.ytimg.com/vi/MsNLjPKfNh8/maxresdefault.jpg)
Spring & Spring Boot Annotations Series - #6 - @Controller, @Service and @Repository Annotations - YouTube
![Spring Boot - @RestController annotation gets picked up, but when replaced with @Controller annotation, it stops working - Stack Overflow Spring Boot - @RestController annotation gets picked up, but when replaced with @Controller annotation, it stops working - Stack Overflow](https://i.stack.imgur.com/r7l5S.png)
Spring Boot - @RestController annotation gets picked up, but when replaced with @Controller annotation, it stops working - Stack Overflow
![Difference between @Component, @Service, @Controller, and @Repository in Spring - Java Code Geeks - 2023 Difference between @Component, @Service, @Controller, and @Repository in Spring - Java Code Geeks - 2023](http://www.javacodegeeks.com/wp-content/uploads/2017/11/Spring-Master-Class-Beginner-to-Expert-Udemy.jpg)
Difference between @Component, @Service, @Controller, and @Repository in Spring - Java Code Geeks - 2023
![Difference between @Controller and @RestController in Spring Boot and Spring MVC? | by Soma | Javarevisited | Medium Difference between @Controller and @RestController in Spring Boot and Spring MVC? | by Soma | Javarevisited | Medium](https://miro.medium.com/v2/resize:fit:1038/0*UjtctzQkmtUC5EpE.png)