where to put .propertie files in eclipse


  1. Basically, JVM  reads  the properties files from the classes folder in the Web project once we deployed into the server
  2. If we create the Web project in eclipse IDE ,we have to put the properties files in the src folder like below



so,when we deploy the above project in server, properties files will be placed in classes folder automatically


Java Project

If we create Normal Java Project properties files should be in project root folder.


Maven Project

If we create Maven Project properties files should be in resources folder.