protected InputStream getCustomJspInputStream(URLContainer urlContainer, String customJsp)
      throws IOException {

    URL url = urlContainer.getResource(customJsp);

    return url.openStream();
  }
  protected void getCustomJsps(
      URLContainer urlContainer, String resourcePath, List<String> customJsps) {

    Set<String> resourcePaths = urlContainer.getResources(resourcePath);

    if ((resourcePaths == null) || resourcePaths.isEmpty()) {
      return;
    }

    for (String curResourcePath : resourcePaths) {
      if (curResourcePath.endsWith(StringPool.SLASH)) {
        getCustomJsps(urlContainer, curResourcePath, customJsps);
      } else {
        String customJsp = curResourcePath;

        customJsp = StringUtil.replace(customJsp, StringPool.DOUBLE_SLASH, StringPool.SLASH);

        customJsps.add(customJsp);
      }
    }
  }