P E N C I L
Login
Spring MVC

https://www.baeldung.com/spring-mvc-tutorial

https://dzone.com/tutorials/java/spring/spring-mvc-tutorial-1.html

DispatchServlet?

Control the output page.

https://www.java67.com/2017/06/what-is-use-of-dispatcherservlet-in-spring-mvc.html

- DispatchServlet is front controller pattern

- It's a servlet which receive and forward it to @Controller or @RestController

- Return value of @Controller is either forward to view resolved by ViewResolver (InternalResourveViewResolver: jsp/themeleaf)
Return of @Restcontroller is returned directly via Json or text...