Add modelAttribute="formObject"to<form:form>
Also make sure that you do not exclude debugging information from the classes. If you have or are not sure, indicate@ModelAttribute("formObject")
To process files (multipart data) you need to specify enctype for the form:
enctype="multipart/form-data"
Update: since you are using the js library to upload files, here is what to do:
- Download only the image using an ajax request (don’t send anything). Store downloaded files in a temporary place.
- .
- ( ajax, submit), ,
- .
- , , , / .