Thursday, 8 March 2018

What is the flow of Spring application ?


Client
> Front controller (Dispatcher Servlet)
    > Handler mapping (holds mapping of all the URLs with controller) returns Controller
       > Controller
           > Return the view

                View resolver resolves the view type (ModelAndView/Jasper(JSP)/text/JSON)
                     > If modelAndView response, return View

                        else return data (JSON, text etc.)
  
Image result for spring flow

No comments:

Post a Comment

Note: only a member of this blog may post a comment.