변환경로 수정
This commit is contained in:
parent
f8e2e96e6f
commit
9ce289791e
@ -131,8 +131,8 @@ public final class PdfUtil {
|
|||||||
PDPageContentStream contents = new PDPageContentStream(doc, page);
|
PDPageContentStream contents = new PDPageContentStream(doc, page);
|
||||||
contents.drawImage(pdImage, pageWidthPosition, pageHeightPosition, imgWidth, imgHeight);
|
contents.drawImage(pdImage, pageWidthPosition, pageHeightPosition, imgWidth, imgHeight);
|
||||||
contents.close();
|
contents.close();
|
||||||
//doc.save("/usr/local/tomcat/file/sht/pdf/" + uuid + ".pdf");
|
doc.save("/usr/local/tomcat/file/sht/pdf/" + uuid + ".pdf");
|
||||||
doc.save("C:/TEST/" + uuid + ".pdf");
|
//doc.save("C:/TEST/" + uuid + ".pdf");
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.out.println("Exception! : " + e.getMessage());
|
System.out.println("Exception! : " + e.getMessage());
|
||||||
|
|||||||
@ -466,8 +466,8 @@ public class EgovFileDownloadController {
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
|
|
||||||
//File uFile = new File("/usr/local/tomcat/file/sht/pdf/", fileNm);
|
File uFile = new File("/usr/local/tomcat/file/sht/pdf/", fileNm);
|
||||||
File uFile = new File("C:/TEST/", fileNm);
|
//File uFile = new File("C:/TEST/", fileNm);
|
||||||
|
|
||||||
long fSize = uFile.length();
|
long fSize = uFile.length();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user