Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 스프링 핵심 기능
- kotlin
- 스프링 핵심 원리
- AOP
- db
- transaction
- pointcut
- jpa
- 자바
- 알고리즘
- Greedy
- Spring Boot
- 인프런
- 그리디
- JPQL
- 스프링
- Thymeleaf
- Exception
- Android
- Servlet
- java
- SpringBoot
- springdatajpa
- Proxy
- JDBC
- spring
- QueryDSL
- http
- 김영한
- 백준
Archives
- Today
- Total
목록메시지 처리 (1)
개발자되기 프로젝트
오류 코드와 메시지 처리 2
컨트롤러에서 BindingResult 는 검증해야 할 객체인 target 바로 다음에 온다. 따라서 BindingResult 는 이미 본인이 검증해야 할 객체인 target 을 알고 있다. @PostMapping("/add") public String addItemV3(@ModelAttribute Item item, BindingResult bindingResult, RedirectAttributes redirectAttributes, Model model) { log.info("objectName = {}", bindingResult.getObjectName()); log.info("target = {}", bindingResult.getTarget()); 2021-09-24 20:19:16.482 I..
인프런/[인프런] 스프링 MVC 2
2021. 9. 24. 20:30