How can I define a custom message source for a spring web flow? How can I define a custom message source for a spring web flow? spring spring

How can I define a custom message source for a spring web flow?


Put something like this in your application context XML file:

<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">    <property name="basename"><value>classpath:yourSharedResourceBundle</value></property></bean>

As long as the file is located on the classpath it should be used.