Spring MVC: Views and View Resolvers

Insert image description here

Preface

In the previous chapter, model data was returned to the front-end controller DispatcherServlet through domain object sharing. Then, after encapsulating the results into a model view ModelAndView object and returning it to the front-end controller DispatcherServlet, the next step is for the front-end controller DispatcherServlet to obtain the display of the processing results by the real view object (JSP, etc.) based on the analysis of the view resolver ViewResolver .
Insert image description here

The following is a brief introduction to views and view parsers:

view

View (View) , usually an HTML or JSP page, can also be other types of documents or images. Views are used to render model data and present model data to users in the form of HTML, JSP, Excel, Word, PDF, etc.

In the org.springframework.web.servlet package&#x

Guess you like

Origin blog.csdn.net/qq_56886142/article/details/131926607