반응형 파일생성 및 내용넣기1 [JSP] 파일생성 및 내용넣기 String sDir = ""; String sFileName = ""; String sFilePath = ""; String sText = ""; try { sDir = ""; // 디렉토리명 sFileName = ""; // 파일명 sFilePath = sDir + sFileName; // 파일경로 // 디렉토리 생성. try { File dir = new File(sDir); dir.mkdirs(); } catch ( Exception e ) {} File sFile = new File(sFilePath.. 2013. 2. 26. 이전 1 다음 반응형