Update context-common-convert.md

https://github.com/eGovFramework/egovframe-template-simple-backend/pull/26

해당 PR로 인하여 클래스 명 변경
main
eGovFrameSupport 3 years ago committed by GitHub
parent d415f618e8
commit 6f6a635015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,7 +28,26 @@
})
```
메시지소스빈 설정
<context-common.xml>
```xml
<bean id="egovMessageSource" class="egovframework.com.cmm.EgovMessageSource">
<property name="reloadableResourceBundleMessageSource">
<ref bean="messageSource" />
</property>
</bean>
```
<EgovConfigAppMsg.class>
```java
@Bean
public EgovMessageSource egovMessageSource() {
EgovMessageSource egovMessageSource = new EgovMessageSource();
egovMessageSource.setReloadableResourceBundleMessageSource(messageSource());
return egovMessageSource;
}
```
프로퍼티 파일 위치 등록
@ -50,7 +69,7 @@
</bean>
```
<EgovConfigAppCommon.class>
<EgovConfigAppMsg.class>
```java
@Bean
@ -129,4 +148,4 @@ public CommonsMultipartResolver springRegularCommonsMultipartResolver() {
commonsMultipartResolver.setMaxInMemorySize(100000000);
return commonsMultipartResolver;
}
```
```

Loading…
Cancel
Save