code: public String getImageFinalPath(String path, JawrConfig jawrConfig) {
  
  		String finalPath = path;
  
  		// Remove servlet mapping if it exists.
  		finalPath = removeServletMappingFromPath(finalPath,
  				jawrConfig.getServletMapping());
  		if (finalPath.startsWith("/")) {
  			finalPath = finalPath.substring(1);
  		}
  
  		// remove cache prefix
  		int idx = finalPath.indexOf("/");
  		finalPath = finalPath.substring(idx + 1);
  
  		return finalPath;
  	}
docs: Retrieves the image final path, where the servlet mapping and the cache
  prefix have been removed
  
  @param path
  the path
  @param jawrConfig
  the jawr config
  @return the final path