Spring MVC:
The main components in spring-mvc are front controller, handler mappings, controllers, view resolvers, and views.
work flow:
- First a web request is submitted to the application.
- The FrontController receives the request and interprets it to find the appropriate handle mapping. The handle mapping maps the request to an appropriate Controller object.
- The front controller forwards the request to the controller object.
- The controller receives the request, processes it, and returns a Model and View object to the front controller.
The main components in spring-mvc are front controller, handler mappings, controllers, view resolvers, and views.
work flow:
- First a web request is submitted to the application.
- The FrontController receives the request and interprets it to find the appropriate handle mapping. The handle mapping maps the request to an appropriate Controller object.
- The front controller forwards the request to the controller object.
- The controller receives the request, processes it, and returns a Model and View object to the front controller.
- The front controller uses View Resolvers to find the appropriate View object.
- The view object is used to render the result which then sends it back to the client.
No comments:
Post a Comment