|
> From: Colin Williams > > I have created utility classes that use > ClassLoader.getSystemClassLoader().getResourceAsStream(propertiesFile); > > This will then search the classpath for the specified file, in this case a > properties file, allowing me to use the classpath like a library list for > properties files Very interesting, Colin! Does the classpath for WAS include any specific directories in the J2EE structure of a web application? For example, does the WEB-INF/classes folder end up in that classpath? Because if it does, then I can just include my properties files in one of those folders and it should get included in the EAR/WAR file. Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.