With regard to the role of Spring MVC's core controller Dispatcherservlet, the following statement is wrong ()?
A. It is responsible for handling HTTP requests
B. Loading a configuration file
C. Implementing Business operations
D. Initializing a top-down Application object ApplicationContext
Wrong choice: A
Wrong choice reason: Look at the wrong topic meaning, mistakenly think is the right choice.
Positive selection: C
Positive selection Reason: Spring MVC is the module in spring, which implements the MVC design pattern of the web framework,
1. First the user sends the request
2. Request to the front controller (dispatcherservlet) of spring MVC, the front controller finds the handler that matches the URL based on the user's URL request processing Mapper, and returns an execution chain
3. The front controller then requests that the processor adapter call the appropriate handler for processing and return to the front controller a Modelandview
4. The front controller then requests the view parser to parse the returned logical view
5. The final front controller renders the returned view and loads the data into the request domain and returns it to the user.
Dispatcheservlet as the front-end controller of the SPRINGMVC, is responsible for accepting the user's request and returning the corresponding view to the user according to the user's request.
When the business operation is implemented at the service level, the C answer is wrong.
2018-03-20 interview about SPRINGMVC the role of the core controller Dispatcherserlvlet, the following statement is wrong?