- DispatcherServlet receives the request.
- DispatcherServlet dispatches the task of selecting an appropriate controller to HandlerMapping. HandlerMapping selects the controller which is mapped to the incoming request URL and returns the (selected Handler) and Controller to DispatcherServlet.
- DispatcherServlet dispatches the task of executing of business logic of Controller to HandlerAdapter.
- HandlerAdapter calls the business logic process of Controller.
- Controller executes the business logic, sets the processing result in Model and returns the logical name of view to HandlerAdapter.
- DispatcherServlet dispatches the task of resolving the View corresponding to the View name to ViewResolver. ViewResolver returns the View mapped to View name.
- DispatcherServlet dispatches the rendering process to returned View.
- View renders Model data and returns the response.
Sunday, January 20, 2019
Spring MVC Request Processing
Subscribe to:
Post Comments (Atom)
-
@NotNull CharSequence, Collection, Map or Array object cannot be null, however can be empty. @NotEmpty The CharSequence, Collection...
-
We learned about mapping associated entities in hibernate already in previous tutorials such as one-to-one mapping and one-to-many mappi...
-
FetchType (Lazy/Eager) instructs whether the entity to be loaded eagerly or lazy, when there is a call. FetchMode (Select/Join) instructs...
No comments:
Post a Comment