BLOB 썸네일형 리스트형 BLOB 형태로 파일 업로드 / 다운로드 1. 서버에 있는 파일 다운로드 받기 public void downloadFile( HttpServletRequest req, HttpServletResponse res) throws IOException, Exception { BufferedInputStream fin = null; BufferedOutputStream outs = null; String downloadDir = "C:/downloadFolder/" //다운로드 경로 try { //다운로드 받을 파일 이름 String fileNm = req.getParameter("file") != null ? URLDecoder.decode(req.getParameter("fileNm"),"UTF-8") : ""; //윈도우에서 그럴 일은 없지만 /.. 더보기 이전 1 다음