Multipart Request
Learn Multipart Request (File Upload & Download, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes Multipart request : an HTTP request with Content-Type: multipart/form-data that carries several parts (text fields and files) separated by a boundary string. Use : file upload forms need enctype="multipart/form-data" and method="post" ; a normal form encoding cannot carry files. In Spring : a MultipartResolver parses the request, and the controller receives MultipartFile parameters or @RequestPart values.