Close
« Tutorial

Spring MVC - DispatcherServlet.properties MCQ

0/13
0 ✓
0 ✗

1. What is the main purpose of the DispatcherServlet.properties file in Spring MVC?

2. Where is the DispatcherServlet.properties file located?

3. When does DispatcherServlet load the DispatcherServlet.properties file?

4. What happens if an application registers its own HandlerMapping bean?

5. Which statement best describes the role of the DispatcherServlet.properties file?

6. Which of the following strategy interfaces is not listed in DispatcherServlet.properties?

7. What is the default implementation for the ViewResolver strategy according to DispatcherServlet.properties?

8. Which default LocaleResolver is specified in DispatcherServlet.properties?

9. In the context of DispatcherServlet.properties, which interface is responsible for mapping incoming HTTP requests to handler objects?

// Which strategy interface has default implementations such as
// RequestMappingHandlerMapping and BeanNameUrlHandlerMapping?
org.springframework.web.servlet.________

10. Which strategy interface is responsible for invoking the matched handler and is represented by default implementations like RequestMappingHandlerAdapter?

// Which strategy interface has default implementations such as
// RequestMappingHandlerAdapter and SimpleControllerHandlerAdapter?
org.springframework.web.servlet.________

11. What does DispatcherServlet do if no custom HandlerExceptionResolver bean is registered?

12. Which of the following is the default RequestToViewNameTranslator implementation in DispatcherServlet.properties?

13. What is the default FlashMapManager implementation listed in DispatcherServlet.properties?

14. How should application developers treat the DispatcherServlet.properties file?

15. Which mechanism can cause the default strategies in DispatcherServlet.properties to be bypassed?

Join