DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
This code is dangerous! Do yourselves a favour and read the J2EE spec! You shouldn't be using static fields. What happens if this WebAppResourceLoader was used by a Servlet? What would happen if two threads were running through the servlet concurrently? The whole thing will fall over, thats what!