constretto/constretto-core — pull request #40 by sebdehne (2013-10-17 06:41:35+00:00)
Title: use webapp class loader

Sometimes this library is loaded from the common class loader while resources are still in the webapp class loader. Using the thread's classloader ensures that the webapp classloader is used, which typically falls back to the common classloader when the resource is not found in the webapp classloader.

This is also how spring does it.