code: public static URL getStaticResourceURL(String resourcePath) {
  
          URL resourceURL = null;
          if (isStaticResourceUri(resourcePath)) {
              String path = removeStaticResourcePrefix(resourcePath);
              path = CmsStringUtil.joinPaths(OPENCMS_PATH_PREFIX, path);
              resourceURL = OpenCms.getSystemInfo().getClass().getClassLoader().getResource(path);
          }
          return resourceURL;
      }
docs: Returns the URL to a static resource.<p>
  
  @param resourcePath the static resource path
  
  @return the resource URL