hi,
I am using org.springframework.context.support.ReloadableReso urceBundleMessageSource to load my properties file as below
and accessing it using ApplicationHolder.mainContext.getBean('commonValue s').getMessage(paramName,null,null,null)Code:<bean id="commonValues" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"> <property name="cacheSeconds" value="1"/> <property name="basenames"> <list> <value>WEB-INF/commonValues</value> </list> </property> </bean>
I need to override the value for a particular key.
Is there any way to achieve this


Reply With Quote