I am working on a web project. I want to know where should I put my property file. I will use it for filters. I attached a screenshot of my project too. Thanks!

I am working on a web project. I want to know where should I put my property file. I will use it for filters. I attached a screenshot of my project too. Thanks!

 
    
    It depends entirely on how you load (or intend to load) the properties file in the first place. If you load it using the ClassLoader, then place it in the sources, with your Java files. If you load it as a webapp resource, using the ServletContext, place it under WebContent/WEB-INF. If you want it to be avdownloadable from the browser, then put it anywhere under WebContent, except in WEB-INF. – JB Nizet https://stackoverflow.com/users/571407/jb-nizet