Announcement Announcement Module
Collapse
No announcement yet.
Localization Problem while reading messages using ResourceBundleMessageSource Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Localization Problem while reading messages using ResourceBundleMessageSource

    Hi Guys,

    I am trying to configure localization using spring mvc.

    The issue i am facing here is that localization doesn't work in my demo app when i am using ResourceBundleMessageSource class for my messageSource bean. But when i change the class to ReloadableResourceBundleMessageSource, the same configuration works. Can any one please tell me the cause of this issue.

    The configuration for messagesource bean is ->
    <bean id="messageSource" class="org.springframework.context.support.Reloada bleResourceBundleMessageSource"
    >
    <property name="basename" value="classpath:messages">

    </property>
    </bean>

    Thanks and Regards,
    C Khatri
Working...
X