일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- SpringBoot
- 매핑정보가없는필드
- 자바ORM표준프로그래밍
- initialDelay
- Invalid bound statement (not found)
- 멱등활용
- fixedDelay
- http
- 김영한JPA
- 캐쉬가능
- 무상태프로토콜
- @Table
- Transaction not successfully started
- HTTPMESSAGE
- DB방언
- 네이버 연결된 서비스
- JPA
- RFC723x
- HTTP3
- ERROR TYPE : org.apache.ibatis.binding.BindingException
- hibernate.dialect
- gitreset
- Git
- @Entity
- KAKAOLOGINAPI
- 데이터베이스 방언
- org.apache.ibatis.binding.BindingException
- gitrevert
- anyMatch
- 네이버로그인API
Archives
- Today
- Total
목록RedirectAttributes (1)
twocowsong

redirect @GetMapping("/init") public void init(Model model, HttpServletResponse response) throws IOException{ response.sendRedirect("/redirect"); } @ResponseBody @GetMapping("/redirect") public String redirect() { return "result : redirect!!!"; } Redirect를 사용하다보면 데이터를 전송하지 못한다는 단점이있습니다. 리다이렉트는 호출 시 클라이언트를 한번 갔다가 호출되기때문에 request에 데이터가 담겨있지않게됩니다. 이때 데이터를 전송시키고싶다! 이럴때 forward를 사용하면 데이터를 전달할수 있습니다. ..
IT/SpringBoot
2022. 1. 23. 16:38