Hi,
I want to dynamically set the basenames property with path read from other config file in my application.
When i try to set it i get an error saying "The method setBasenames(String[]) is undefined for the type MessageSource"
My configuration is:
Is there a way to access the implementing class methods?HTML Code:<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"> <property name="basenames"> <list> <value>WEB-INF/classes/messages</value> <value>classpath:mailmessages</value> <value>classpath:exceptionmessages</value> <value>classpath:com/amdocs/adam/common/config/lang/commonEng</value> </list> </property> <property name="fileEncodings" value="UTF-8" /> <property name="defaultEncoding" value="UTF-8" /> </bean>
Thanks.


Reply With Quote