Our project has recently started using Spring Framework ( 3.0 ) version and I had this question about Struts ApplicationResources.properties. We have this file mentioned as:
As shown above, we have around 10-15 modules which has its own struts-config.xml and line as above, now since we have started using Spring framework, I would like to use the Spring "ReloadableResourceBundleMessageSource" class from the package org.springframework.context.support so that we could reload the property key values instantly instead of waiting to restart the server. Is there any way we could override the struts-config configuration above and use this:
<message-resources parameter="ApplicationResources" null="false"/>
Any help will be appreciated?
<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basename" value="/WEB-INF/messages/messages" />
<property name="cacheSeconds" value="0" />
Yogendra N Joshi