MultipartFile is not working in spring mvc version 6.1.6
enctype=”multipart/form-data” after using this in form attribute and in that form i have a input type of file and name csvfile and on other hand i will receiving this on sever side with @RequestParam(value=”csvfile”, required=false) MultipartFile csvfile so im not getting the csv file here instead im receiving null so what am i thinking is when enctype=”multipart/form-data” is try encode it, then something is happening there and that i don’t know what i know is when i kept this enctype=”multipart/form-data” to form attribute not only the input type file other input field values also receiving null but when i remove this enctype=”multipart/form-data” from form attribute then im getting all the values but not file type (its retrieving the name of the file in the string formate)