This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
What I want is that at runtime I may have various jars attached and each jar might have this property file. So with above code I want to read all properties files available and make a combined configuration.
Now this code was working well for the simple java project. But it does not work for a web application (deployed on WebSphere). I guess the reason is that in the case of web applications multiple class loaders might be involved.
What do I do so that my code will read all properties files. Is there any project that is already doing this, for example Commons Configuration?