Notice
Link
- Today
- Total
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 코드로 서버 재실행
- group by
- 파티션 빠른 삭제
- MySQL
- 가변영역 스크롤
- 터치좌표 view
- Back 키 클릭 감지
- CentOS
- CSS
- rn
- springboot 재가동
- c언어
- 피쉬랜드
- kill -9
- vc++
- 시간대별 통계
- Activity 전체화면
- MariaDB
- 시간대 테이블생성
- mybatis exception
- view 획득
- 말줌임 CSS
- sql exception
- 스크롤적용
- reactnative
- pid 찾아 kill
- SQL
- springboot
- ffmpeg
- MFC
Archives
목록springboot 파일 다운로드 (1)
개발은 하는건가..
[Springboot] 파일 다운로드
파일 다운로드 예) @GetMapping({"/api/photo/download"}) public void photoDownload(@RequestParam(required = false, defaultValue = "0") int paramKey, HttpServletResponse response) throws IOException { if (paramKey == 0) { response.setStatus(HttpServletResponse.SC_BAD_REQUEST); return; } File photoFile = new File("파일경로/" + paramKey + ".jpg" ); if (photoFile.exists() == false) { response.setStatus(HttpServl..
SpringBoot , Thymeleaf
2023. 1. 30. 17:39