adspace


What is the flow of spring mvc?

Answer Posted / Mr Narender Kumar

The flow of Spring MVC is as follows: An HTTP request is received by a DispatcherServlet, which then invokes a handler method in a controller class. The controller prepares the model data and forwards it to a view resolution mechanism, which selects an appropriate view (usually a JSP or Thymeleaf template). Finally, the view renders the model data as an HTTP response.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between @controller and @restcontroller in spring?

556


What is lazy class?

490


How can you inject java collection in spring?

518