반응형 OutputStream1 자바(JAVA) 파일 다운로드 FileInputStream fin = null; OutputStream os = null; File file = null; String path = "/testServer/voice/"; String fileName = "testFile.exe"; String sFilePath = path + fileName; try{ file = new File(sFilePath); fin = new FileInputStream(file); }catch(FileNotFoundException fnfe){ System.out.println("FILE_ERROR..."); } response.reset(); if(fin != null){ String agentType = request.getHeader("User-Age.. 2013. 11. 13. 이전 1 다음 반응형