import java.io.File;
import java.io.FileOutputStream;
import java.net.URL;
import org.apache.commons.io.IOUtils;
String httpUrl = "";
URL url = new URL(httpUrl);
java.net.URLConnection connection = url.openConnection();
String fileName = dir+File.separator+result.getString("attachFileName", i);
IOUtils.copy(connection.getInputStream(), new FileOutputStream(fileName));
[jstl] According to TLD or attribute directive in tag file, attribute value does not accept any expressions 에러 (1) | 2009.12.30 |
---|---|
org.apache.commons.io (0) | 2009.12.28 |
jsp 한글 변수 깨짐 문제 해결[펌] (0) | 2009.12.02 |
JNDI를 이용한 db 프로그래밍(java) 완변 샘플 (1) | 2009.11.12 |
java properties ResourceBundle 사용하기 (0) | 2009.11.12 |