I want to load a property file from outside the web application.The code to get property file is shown below.
Properties p = new Properties();
p.load(this.getClass().getClassLoader().getResourceAsStream("a.properties"));
I’m using tomcat server and I want to place the property file inside the tomcat server.Where I can place it in the server inorder to available it in the class path while running the application? I don’t want to change the above code because I have to run the same application indifferent server also