This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I am getting below error in my Controller class when trying to get message from resource file, but i am able to get the same message in jsp file
my properties file is messages.properties and not messages_en_US.properties , this might be issue, but i want to make it work using messages.properties because i cannot change the file name to messages_en_US as it might broke my other part of web application
this is my set up,
in servlet-contxt.xml file
in my controller this is what i do use AutoWired to load the bean
org.springframework.context.NoSuchMessageException: No message found under code 'label.firstname' for locale 'null'.
Joined: Aug 15, 2002
I got it working by changing servlet-contxt.xml file
subject: Issue with getting Message from properties file in Controller, but works in JSP