change the param file name

This commit is contained in:
fanfuxiaoran 2014-05-04 17:23:58 +08:00
parent a9437a45e0
commit 3ee9a78c6b
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ public class Script {
} }
for (MultipartFile multipartFile : paramFiles) { for (MultipartFile multipartFile : paramFiles) {
try { try {
System.out.println(multipartFile.getOriginalFilename());
multipartFile.transferTo(new File(folderPath multipartFile.transferTo(new File(folderPath
+ Main.FILE_SEPARATOR + Main.FILE_SEPARATOR
+ multipartFile.getOriginalFilename())); + multipartFile.getOriginalFilename()));