반응형
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 |
Tags
- 세션이란
- 인터셉터의 정의
- controller
- 쿠키의 정의
- spring
- .orelseThrow
- 필터vs인터셉터
- filter vs interceptor
- java.lang.AssertionError
- 세션의 정의
- 세션vs쿠키
- application-properties
- abap value in field Data Class error
- springSecurityFilterChain 오류
- 유연한 컨트롤러1 - v5
- 401오류
- SpringMVC
- @Controller
- spring MVC
- Testcode
- 쿠키란
- BindingResult
- MVC
- 김영한
- 구글 보안 api 활용
- jpa
- optional
- Validation
- 필터의 정의
- n+1
Archives
- Today
- Total
목록validate (1)
ABAP DUMP ERROR 24시
Validator interface 활용하기
# 인프런 김영한의 스프링 MVC 2편 - 백엔드 웹 개발 핵심 기술을 개인적으로 정리한 글입니다. 정리 1. Validator interface를 활용하고 implement 투입 2. valiation을 통한 코딩. 과거 개발했던 부분에는 유효성 검정을 하는 코드들이 들어있어 가시성이 좋지 않았다. 다음 오류를 확인하고 해결해주는 Validator를 분리하여 작성해서 가시성을 높히도록 하자. // @PostMapping("/add") // public String addItemV4(@ModelAttribute Item item, BindingResult bindingResult, RedirectAttributes redirectAttributes){ // log.info("objectName = {}"..
[WEB]Back-end/Spring MVC
2022. 2. 22. 21:35