일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- myBatis
- 스프링
- Spring Security
- error
- 깃
- maven
- Security 로그인
- react 자동입력방지
- SpringBoot
- 리액트 캡차
- 리액트 심플캡차
- Spring Boot
- Docker
- react 상태
- spring security 로그인
- build
- jpa
- 젠킨스
- 에러
- spring error
- ChatGPT
- 스프링 시큐리티
- react 캡차
- react 심플캡차
- 스프링 시큐리티 로그인
- react captcha
- REACT
- react simple captcha
- git
- CI
Archives
- Today
- Total
목록Content-Disposition 누락 (1)
I can do it(Feat. DEV)

📝글을 쓰게 된 계기 진행 중인 프로젝트 간단한 스펙 설명 - Spring Boot - TypeScript - Mybatis 엑셀 기능 개발 중 Axios 응답 객체에서 Content-Disposition을 찾을 수 없는 문제가 발생함. 분명히 아래 코드와 같이 서버단에서 응답 헤더에 파일명을 설정을 했는데 //파일명 인코딩 String encodedFilename = URLEncoder.encode(tblName+"목록","UTF-8"); //헤더에 파일명 세팅 response.setHeader("content-disposition", "attachment; filename=\"" + encodedFilename + ".xlsx\""); //콘텐츠 타입 설정 response.setContentType(..
개발자 모드/오류처리
2024. 2. 23. 17:47