Analytical SpringMVC assembly
1. The front controller: DispatcherServlet
user request reaches the front end controller, it is equivalent in MVC C, DispatcherServlet center of the entire process is controlled by the
other components of the processing which calls the user's request, the presence of reduced DispatcherServlet coupling between components.
2. Processor mapper: the HandlerMapping
the HandlerMapping found Handler is responsible for the request according to a user i.e. the processor, provides a different SPRINGMVC mapper achieve different
mapping modes, for example: profiles, to achieve interface mode, annotation methods.
3. Processor Adapter: HandlerAdapter
by HandlerAdapter of processors, which is an application of the adapter mode, more types of treatment may extend through the adapter
unit for execution.
4. Processor: Handler
it is that we want to write in the development of specific business controller. DispatcherServlet by the user forwards the request to the Handler. By the
processes of the specific user request Handler.
5. resolver view: View the Resolver
View is responsible for the Resolver View to generate the processing result, the Resolver View The first resolves a logical name to a physical view of the view name, i.e., the specific page address, then generates a view object View, View finally render the process The results presented to the user via the page.
6. View: View
SpringMVC View framework provides a lot of view types of support, including: jstlView, freemarkerView, pdfView and so on. The most common view is jsp. You need to model data show generally by page or tag page by page template technology to users, programmers need to develop a specific page based on business needs
SpringMVC component parses
Guess you like
Origin www.cnblogs.com/juanxincai/p/12048354.html
Ranking