With struts, the uploaded files will be saved as tmp first, how to guarantee the uploaded files are in sequence, since I have to save them with the original file names?
Asked
Active
Viewed 87 times
0
-
You have access to the filename via the file upload interceptor. – Dave Newton Mar 22 '19 at 15:35
-
Yes, I do. But the fileUploadInterceptor doesn't call the getter and setter of filename and contentType if I upload multiple files? they only being called if I upload single file? i.e. uploadMultiple=false of dropzone – MIT Mar 23 '19 at 14:48
-
Multiple files? It's not designed for that at all; don't know it'd deal with that. But you should add that to the question since it completely changes the nature of the question. – Dave Newton Mar 23 '19 at 16:02