jawr-bundle-processor/src/main/java/net/jawr/web/servlet/mock/MockServletRequest.java
/**
	 * Remove the servlet mapping from the path
	 * @param path the path
	 * @param mapping the servlet mapping
	 * @return the path without the servlet mapping
	 */
Remove the servlet mapping from the path
@param path the path
@param mapping the servlet mapping
@return the path without the servlet mapping
Remove the servlet mapping from the path @param path the path @param mapping the servlet mapping @return the path without the servlet mapping
private String removeServletMappingFromPath(String path, String mapping) {
		if (mapping != null && mapping.length() > 0) {
			int idx = path.indexOf(mapping);
			if (idx > -1) {
				path = path.substring(idx + mapping.length());
			}
			path = PathNormalizer.asPath(path);
		}
		return path;
	}
private String removeServletMappingFromPath ( String path , String mapping ) { if ( mapping != null && mapping . length ( ) > 0 ) { int idx = path . indexOf ( mapping ) ; if ( idx > - 1 ) { path = path . substring ( idx + mapping . length ( ) ) ; } path = PathNormalizer . asPath ( path ) ; } return path ; }
Remove the servlet mapping from the path
 @param path the path
 @param mapping the servlet mapping
 @return the path without the servlet mapping
Remove the servlet mapping from the path @param path the path @param mapping the servlet mapping @return the path without the servlet mapping