vijay_575
Mar 8th, 2008, 10:46 PM
I am using spring in my project. It is deployed on to Websphere. Following is the configuration used in my application.
<bean id="messageSource"
class="org.springframework.context.support.ResourceBundle MessageSource">
<description>The resource bundles</description>
<property name="basenames">
<list>
<value>default</value>
<value>messages</value>
</list>
</property>
</bean>
The default.properties should be externalized such that my application picks up the keys in default.properties. Where should the properties file needed to be placed in websphere and what should be the change in the above configurations to be made such that application picks the properties file which is present in Websphere but not in my application.
Please let me know your thoughts on this.
Vijay.
<bean id="messageSource"
class="org.springframework.context.support.ResourceBundle MessageSource">
<description>The resource bundles</description>
<property name="basenames">
<list>
<value>default</value>
<value>messages</value>
</list>
</property>
</bean>
The default.properties should be externalized such that my application picks up the keys in default.properties. Where should the properties file needed to be placed in websphere and what should be the change in the above configurations to be made such that application picks the properties file which is present in Websphere but not in my application.
Please let me know your thoughts on this.
Vijay.