Adds additional logging when locating definitions

This commit is contained in:
Lukasz Lenart
2016-03-26 15:36:14 +01:00
parent 42192a5cee
commit f04eb3831a
@@ -115,6 +115,8 @@ public class StrutsWildcardServletApplicationContext extends ServletApplicationC
Pattern pattern = WildcardUtil.compileWildcardPattern(path);
Map<String, URL> matches = finder.getResourcesMap("");
LOG.trace("Found resources {} matching pattern {}", matches, path);
for (String resource : matches.keySet()) {
if (pattern.matcher(resource).matches()) {
URL url = matches.get(resource);