Difference between spring annotations @RestController and @Controller is
Both are used to indicate spring
container that it is a controller stereotype but for @RestController
it returns domain
object instead of a View
.
Difference between spring annotations @RestController and @Controller is
Both are used to indicate spring
container that it is a controller stereotype but for @RestController
it returns domain
object instead of a View
.