This commit is contained in:
Rossen Stoyanchev
2016-02-17 08:22:42 -05:00
parent 57b466fdfc
commit 024bd6e604
2 changed files with 20 additions and 81 deletions

View File

@@ -226,7 +226,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
public void handleRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
// First, check whether a matching resource exists
// For very general mappings (e.g. "/") we need to check 404 first
Resource resource = getResource(request);
if (resource == null) {
logger.trace("No matching resource found - returning 404");