URL sourceUrl = null;
URL rulesUrl = null;
try {
sourceUrl = getConfigURL(configPath, configSource);
rulesUrl = getConfigURL(digesterPath, digesterSource);
DigestedValue digestedValue = new DigestedValue(obj, sourceUrl, rulesUrl );
servlet.getServletContext().setAttribute(key, digestedValue);
} catch (IOException e) {
log.error("Unable to create URL.", e);
}