Close
« Tutorial

Spring MVC - MultipartResolver MCQ

0/13
0 ✓
0 ✗

1. What is the purpose of the MultipartResolver interface in Spring MVC?

2. Is a MultipartResolver registered by default in Spring MVC?

3. Which bean name does DispatcherServlet use to find the MultipartResolver?

4. What does the isMultipart() method of MultipartResolver do?

5. What does the resolveMultipart() method do?

6. What is the job of the cleanupMultipart() method?

7. When does DispatcherServlet call cleanupMultipart()?

8. Which content type does a typical file upload request use?

9. Which implementation of MultipartResolver relied on the third-party Apache Commons FileUpload library?

10. How does StandardServletMultipartResolver parse multipart requests?

11. Why did the Spring team recommend moving away from CommonsMultipartResolver?

12. What happened to CommonsMultipartResolver in Spring 6?

13. Which type represents an uploaded file received in a multipart request in Spring?

14. What does MultipartHttpServletRequest give a controller access to?

Join