This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You must define a default message-resources bundle without a key attribute. Either remove the key attribute from one of the ones you have defined to make it the default, or add a new resource that will be the default.
ok, it works. i remove the key and it work. thanks for your help.
Joined: Oct 15, 2006
but why is it that i have to remove that? if without the key, then how am i going to identify which properties files to call?
Joined: Feb 15, 2005
The bundle without the key is the "default" bundle, which means it will be used any time you don't specify a "bundle" attribute in a <bean:message> tag. If you want to use the bundle with the key, specify that key in the budle attribute of a <bean:write> tag.