Dear Experts
I am working on java classes using tomcat, I am able to access the properties file located in the "conf" folder under the webapps directory using this servlet code:
File propertiesFile = new File(servletContext.getRealPath("./conf/database.properties"));
but how can i access the same file using java class and not servlet
Any suggestion will be appreciated