public static Resource toResourceExistingParent(PageContext pc, String destination) throws ExpressionException {
	return toResourceExistingParent(pc, destination, pc.getConfig().allowRealPath());
    }
public static Resource toResourceExistingParent ( PageContext pc , String destination ) throws ExpressionException { return toResourceExistingParent ( pc , destination , pc . getConfig ( ) . allowRealPath ( ) ) ; }
cast a String (argument destination) to a File Object, if destination is not a absolute, file
object will be relative to current position (get from PageContext) at least parent must exist

@param pc Page Context to the current position in filesystem
@param destination relative or absolute path for file object
@return file object from destination
@throws ExpressionException