src/org/tiefaces/common/FacesUtility.java
public static String removePrefixPath(final String prefix,
			final String resource) {
		String normalizedResource = resource;
		if (normalizedResource.startsWith(prefix)) {
			normalizedResource = normalizedResource
					.substring(prefix.length() - 1);
		}

		return normalizedResource;
	}
public static String removePrefixPath(final String prefix,
			final String resource) {
		String normalizedResource = resource;
		if (normalizedResource.startsWith(prefix)) {
			normalizedResource = normalizedResource
					.substring(prefix.length() - 1);
		}

		return normalizedResource;
	}
public static String removePrefixPath ( final String prefix , final String resource ) { String normalizedResource = resource ; if ( normalizedResource . startsWith ( prefix ) ) { normalizedResource = normalizedResource . substring ( prefix . length ( ) - 1 ) ; } return normalizedResource ; }
remove prefix path of the full path.

@param prefix
prefix string.
@param resource
normal resource.
@return removed path.
remove prefix path of the full path .