Usage of Thread.currentThread().getContextClassLoader().getResourceAsStream(“system.properties”) [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 years ago . In my web application, I have kept system.properties file in the web-inf/classes folder. To Access that file's inputstream, I am using the code snippet below: InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(SYSTEM_PROPERTIES_FILE) Is there any other way to access