no message
parent
62f4a8cb3b
commit
c7b79001c6
|
|
@ -139,8 +139,6 @@ public class FileController extends BaseService{
|
|||
fileInfoMap.put("originalName", file.getOrigNm()+"."+file.getFileExtn());
|
||||
fileInfoList.add(fileInfoMap);
|
||||
}
|
||||
BufferedInputStream in = null;
|
||||
BufferedOutputStream out = null;
|
||||
|
||||
String zipFile = locationPath+affairTempPath;
|
||||
File saveFolder = new File(zipFile);
|
||||
|
|
@ -178,8 +176,8 @@ public class FileController extends BaseService{
|
|||
|
||||
|
||||
setDisposition(downloadFileName, request, response);
|
||||
in=new BufferedInputStream(new FileInputStream(zipFile));
|
||||
out=new BufferedOutputStream(response.getOutputStream());
|
||||
BufferedInputStream in = new BufferedInputStream(new FileInputStream(zipFile));
|
||||
BufferedOutputStream out = new BufferedOutputStream(response.getOutputStream());
|
||||
FileCopyUtils.copy(in, out);
|
||||
out.flush();
|
||||
/*byte[] data=new byte[2048];
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ file.dir.majorStatus=/majorStatus
|
|||
file.dir.monitoring=/monitoring
|
||||
file.dir.intelligenceNetwork=/intelligenceNetwork
|
||||
|
||||
file.dir.affairTemp=/affairTemp
|
||||
|
||||
editor.img.view=/file/editorFileDisplay?fileNm=
|
||||
|
||||
#thymeleaf
|
||||
|
|
|
|||
Loading…
Reference in New Issue