ÃֽŠ°Ô½Ã±Û(JAVA)
2017.03.14 / 11:37
[JSP] ÆÄÀϾ÷·Îµå À¥·çÆ® Æú´õ »ý¼º
Ŭ·¡½Ã
Ãßõ ¼ö 341
cos ¶óÀ̺귯¸® »ç¿ë½Ã À¥·çÆ®¿¡ Æú´õ°¡ ¾øÀ»°æ¿ì Æú´õ »ý¼º
String tempSavePath= request.getRealPath(File.separator) + "Files\\tempXls\\"; //°æ·Î
String savePath = tempSavePath.replace('\\','/'); //±¸ºÐÀÚ ¸®Ç÷¹À̽º
File targetDir = new File(savePath);
// µð·ºÅ丮°¡ ¾øÀ» °æ¿ì »ý¼º
if(!targetDir.exists()) {
targetDir.mkdirs();
}