You can use
this method to get your properties file from the WAR. However a properties file is not meant to be deployed along with a WAR file. A properties file should be placed outside the project location where it can be accessed by the application. Ideally
you should be able to simply edit the file, and restart the application so that it can absorb the new changes. It is also possible to code in such a way that editing the file alone is sufficient. The advantage being that you dont have to build the WAR file again.