Currently, the net.sf.dozer.util.mapping.util.Loader
uses the context class loader to load the mapping
files. This requires the mapping files to be under the
classpath. Some applications perfer to put their
configuration files in an external location that allows
reloading, for example WEB-INF. You cannot reload the
resources that loaded by context class loader.
The suggested patch is to check to see if the resource
starts with 'file:', and if so, load from the file.
Otherwise load from the classloader.
Log in to post a comment.