if (resultsByExtension == null) { resultsByExtension = loadResultTypes(configuration); }
    public ActionConfig handleUnknownAction(String namespace, String actionName)            throws XWorkException {        if (resultsByExtension == null) {            resultsByExtension = loadResultTypes(configuration);        }        String pathPrefix = determinePath(templatePathPrefix, namespace);        ActionConfig actionConfig = null;        for (String ext : resultsByExtension.keySet()) {            if (LOG.isDebugEnabled()) {                LOG.debug("Trying to locate unknown action template with extension ."+ext+" in directory "+pathPrefix);            }            String path = string(pathPrefix, actionName, "." , ext);            try {                if (servletContext.getResource(path) != null) {                    actionConfig = buildActionConfig(path, namespace, actionName, resultsByExtension.get(ext));                    break;                }            } catch (MalformedURLException e) {                LOG.warn("Unable to parse template path: "+path+", skipping...");            }        }        return actionConfig;    }