code: @Override
  	public String getResourcePath(String basePath, String relativePath) {
  
  		String result = null;
  		if (binaryGeneratorRegistry.isGeneratedBinaryResource(relativePath)) {
  			result = relativePath;
  		} else if (contextPath != null && relativePath.startsWith(contextPath)) {
  			result = relativePath.substring(contextPath.length() - 1);
  		} else {
  			result = PathNormalizer.concatWebPath(basePath, relativePath);
  		}
  		return result;
  	}
docs: /*
  (non-Javadoc)
  
  @see
  org.carrot2.labs.smartsprites.resource.ResourceHandler#getResourcePath(
  java.lang.String, java.lang.String)