How can I have the JVM find a properties file located in a subdirectory of the package structure (for example have com.app.Prog find com/app/resource/prog.properties).
Just let me know whether I have understood your question correctly.
You have a class Prog in the package com.app.
You want to access a property file Prog.properties from the above mentioned class which is located in com/app/resource/prog.properties and
your problem is in identifying the path to the property file...Is that it .
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.