code: private URL resolveResource(Path path) throws MalformedURLException {
  		final Path dir = path.getParent();
  		final String basename = path.getFileName().toString();
  
  		for (String prefix : new String[]{"_", ""}) {
  			for (String suffix : new String[]{".scss", ".css", ""}) {
  				final Path target = dir.resolve(prefix + basename + suffix);
  				final URL resource = getServletContext().getResource(target.toString());
  
  				if (null != resource) {
  					return resource;
  				}
  			}
  		}
  
  		return null;
  	}
docs: Try to find a resource for this path.
  
  <p>A sass import like {@code @import "foo"} does not contain the partial prefix (underscore) or file extension.
  This method will try the following namings to find the import file {@code foo}:</p>
  <ul>
  <li>_foo.scss</li>
  <li>_foo.css</li>
  <li>_foo</li>
  <li>foo.scss</li>
  <li>foo.css</li>
  <li>foo</li>
  </ul>
  
  @param path The path to resolve.
  
  @return The resource URL of the resolved file or {@code null} if the file was not found.