Where to place .properties file? for ResourceBundle

I had been trying to use a ResourceBundle object, but I can’t figure it out where to place my rsc/language.properties
Plus I don’t want to specify Location like “_en, en_US, _es”, I just want to use it

I am doing this:

ResourceBundle.getBundle("rsc/language"); that throws:

java.util.MissingResourceException: Can’t find bundle for base name rsc/language, locale en_US

Actually I have it in:

I thought that because of what exception says I would be forced to add:
…but DIDN’T work either!

WHERE this/these files should be placed?

I had to remove the rsc/ path and created a folder in WEB-INF

Place you properties files into

and use maven-resources-plugin in pom file:

<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.7</version> <configuration> <encoding>${project.encoding}</encoding> </configuration> </plugin> in java code just call

messages = ResourceBundle.getBundle("MessagesBundle", getLocale());

Also worked and seems a better way than mine, thanks