File newFile = new File(_file,path.replace('/', File.separatorChar));
File newFile = new File(_file,rel.replace('/', File.separatorChar));
    public Resource addPath(String path)        throws IOException,MalformedURLException    {        FileResource r=null;        if (!isDirectory())        {            r=(FileResource)super.addPath(path);        }        else        {            path = org.mortbay.util.URIUtil.canonicalPath(path);                        // treat all paths being added as relative            if (path.startsWith("/"))                path = path.substring(1);                        File newFile = new File(_file,path.replace('/', File.separatorChar));            r=new FileResource(newFile.toURI().toURL(),null,newFile);        }        int expected=r._urlString.length()-path.length();        int index = r._urlString.lastIndexOf(path, expected);        if (expected!=index && ((expected-1)!=index || path.endsWith("/") || !r.isDirectory()))        {            r._alias=r._url;            r._aliasChecked=true;        }                                     return r;    }