파일경로 수정

This commit is contained in:
itn 2023-08-03 15:20:43 +09:00
parent eae766b3bd
commit afc7e52388
2 changed files with 4 additions and 4 deletions

View File

@ -131,8 +131,8 @@ public final class PdfUtil {
PDPageContentStream contents = new PDPageContentStream(doc, page);
contents.drawImage(pdImage, pageWidthPosition, pageHeightPosition, imgWidth, imgHeight);
contents.close();
//doc.save("/usr/local/tomcat/file/sht/pdf/" + uuid + ".pdf");
doc.save("C:/TEST/" + uuid + ".pdf");
doc.save("/usr/local/tomcat/file/sht/pdf/" + uuid + ".pdf");
//doc.save("C:/TEST/" + uuid + ".pdf");
} catch (Exception e) {
System.out.println("Exception! : " + e.getMessage());

View File

@ -465,8 +465,8 @@ public class EgovFileDownloadController {
String fileNm = (String) commandMap.get("fileNm");
try {
//File uFile = new File("/usr/local/tomcat/file/sht/pdf/", fileNm);
File uFile = new File("C:/TEST/", fileNm);
File uFile = new File("/usr/local/tomcat/file/sht/pdf/", fileNm);
//File uFile = new File("C:/TEST/", fileNm);
long fSize = uFile.length();