파일 다운로드
InputStream in = null; OutputStream out = null; File file = null; try{ file = new File(path, newName); in = new BufferedInputStream(new FileInputStream(file)); out = new BufferedOutputStream(response.getOutputStream()); oldName = URLEncoder.encode(oldName, "UTF-8").replaceAll("\\+", " "); request.setCharacterEncoding("UTF-8"); response.setContentType("application/octet-stream"); response.setHead..
Java
2014. 12. 23. 10:21
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- EffectiveJava
- generics
- frontcode
- code
- 정규표현식
- DesignPattern
- Jackson
- http
- toby
- OOP
- javascript
- Git
- java
- programming
- MySQL
- spring cloud
- JPA
- Spring
- db
- go-core
- Kotlin
- java8
- clean code
- frontend개발환경
- Design Pattern
- backend개발환경
- TEST
- mariadb
- servlet
- JavaScript Core
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함