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