mirror of
https://github.com/apache/struts.git
synced 2026-08-31 19:35:40 +00:00
Adds additional logging when locating definitions
This commit is contained in:
+2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user