Is it possible to get Java fmt messages bundle from database ?
Posted
by newbie
on Stack Overflow
See other posts from Stack Overflow
or by newbie
Published on 2010-04-28T10:30:46Z
Indexed on
2010/04/28
10:33 UTC
Read the original article
Hit count: 211
I nedd to localize application and now files are loaded from text files. Is it possible to change source to database?
This is how localized messages are now loaded:
<!-- Application Message Bundle -->
<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basename" value="/WEB-INF/messages/messages" />
<property name="cacheSeconds" value="0" />
</bean>
© Stack Overflow or respective owner