Answer the question
In order to leave comments, you need to log in
Spring MVC - how to solve large file upload problem?
I use:
- ubuntu
- Tomcat (-Xmx10240m -XX:PermSize=1024m, maxThreads="500")
- SpringMVC
- package org.apache.commons.fileupload in dispatcher to accept file
- angular [$upload] ( https://github .com/danialfarid/angular-file-upload) I
write the file to the server like this:
FileItem item = (парсю реквест HttpServletRequest и получаю файл);
File uploadedFile = new File(filePath, item.getName());
item.write(uploadedFile);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question