
스프링 메시지 소스 스프링은 기본적인 메시지 관리 기능을 제공한다. 메시지 관리 기능을 사용하기 위해서는 스프링이 제공하는 MessageSource를 스프링 빈으로 등록하면 되는데, 인터페이스이기 때문에 구현체인 ResourceBundleMessageSource를 스프링 빈으로 등록한다. 스프링 메시지 소스 직접 등록 @Bean public MessageSource messageSource() { ResourceBundleMessageSource messageSource = new ResourceBundleMessageSource(); messageSource.setBasenames("messages", "errors"); messageSource.setDefaultEncoding("utf-8"); re..
Spring
2022. 1. 17. 22:39
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 파이썬
- 코테
- 스프링부트
- 자료구조
- 코틀린
- 인프런
- spring boot
- 노마드코더
- MySQL
- 알고리즘
- leetcode
- 정렬
- 구현
- 노마드
- 문자열
- 릿코드
- Spring
- 리팩토링
- 그리디
- 스프링 부트
- 데이터베이스
- webflux
- 백준
- Real MySQL
- 북클럽
- 스프링
- mysql 8.0
- Algorithm
- kotlin
- 김영한
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함