Hi,
You can put your properties file in the applications calsspath i.e. WEB-INF/classes directory which is the default classpath in the app server.
And get the InputStream of this properties file by using following method
InputStream in = getClass().getResourceAsStream("/"+file...
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.