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