Ȩ | ·Î±×ÀÎ | ¸¶ÀÌÆäÀÌÁö | ȸ»ç¼Ò°³ | °í°´¼¾ÅÍ | »çÀÌÆ®¸Ê | ¸®¼¿·¯Á¦ÈÞ | ¼Ö·ç¼Ç
ÄÚ¸®¾ÆÈ£½ºÆÃ

       ns1.koreahosting.org
       211.39.130.6
       ns2.koreahosting.org
       211.39.130.7

  ±Ù¹«½Ã°£¿Ü¿¡ ¹®ÀÇ»çÇ×Àº
  ¾Æ·¡ÀÇ1:1 »ó´ã¹®ÀǸ¦
  ÀÌ¿ëÇϽñ⠹ٶø´Ï´Ù.
 
 
ÀÛ¼ºÀÏ :2008-02-23 Á¶È¸ : 540046
JSPÈ£½ºÆà °Ô½ÃÆÇ ±Û¾²±â È­ÀÏ÷ºÎ µð·ºÅ丮 ¿¡·¯ ¿Ö±×·¡¿ä?

JSPÈ£½ºÆà °Ô½ÃÆÇ ±Û¾²±â È­ÀÏ÷ºÎ µð·ºÅ丮 ¿¡·¯ ¿Ö±×·¡¿ä?
java.lang.IllegalArgumentException: Not a directory: /data

//Install Path
String INSTALL_PATH = "/JspBoard"; //remove ContextPath!!!

String SAVE_PATH = request.getRealPath("/") + INSTALL_PATH + "/data/";
String savePath = SAVE_PATH + BOARD_ID;
int sizeLimit = FILE_SIZE * 1024;

//checking Directory
File saveDir = new File(savePath);
if ( !saveDir.exists()) saveDir.mkdir();

MultipartRequest multi = new MultipartRequest(request, savePath, sizeLimit,"euc-kr",new DefaultFileRenamePolicy());
ÁúÀÇÁß