I am trying to upload a file using spring. Below is my code how I am working on it but if I try to use it I am getting this response:
spring
response
HTTP
Spring needs the
bean to handle file-uploads.
You should register this bean in your application context file.
application context
The Content-Type should also be valid. In your case enctype="multipart/form-data"
enctype="multipart/form-data"
EDIT1:
You can give the upload and memory size to the bean properties: