rinamagro
Jun 6th, 2008, 06:31 AM
Hi all
I am trying to configure the Resource Bundle properties file in Spring MVC with no succcess.
I am using Tomcat on Eclipse IDE. In my xml file i tried this:
<bean id="messageSource" class="org.springframework.context.support.ResourceBundle MessageSource">
<property name="basename"><value>messages</value></property>
</bean>
and tried creating a messages.properties file under my build/classes , under WEB-INF and under various places but when i try to load a message through
<fmt:message key="greeting"/>
im always getting this ???greeting??? (not finding the message)
Any suggestions please cos I am quite new to Spring MVC
thanks lots
Rina
I am trying to configure the Resource Bundle properties file in Spring MVC with no succcess.
I am using Tomcat on Eclipse IDE. In my xml file i tried this:
<bean id="messageSource" class="org.springframework.context.support.ResourceBundle MessageSource">
<property name="basename"><value>messages</value></property>
</bean>
and tried creating a messages.properties file under my build/classes , under WEB-INF and under various places but when i try to load a message through
<fmt:message key="greeting"/>
im always getting this ???greeting??? (not finding the message)
Any suggestions please cos I am quite new to Spring MVC
thanks lots
Rina