Access external config file from Java EE app -


I have to use a config file in a directory on the app server file system, but it is not deployed as part Has been my Java EE app

In this case, will I get help resource?

what getResourceAsStream () can help me in this case is?

Unless the config file is on the classpath, you are going to use java.io to do whatever you want, Unless you understand the app server to bring it in some non-standard ways for you.

Take this out of Java Istanbul and run the risk of falling ahead of the apesher's security model.


Comments