Does anybody use Restlet under Windows? I want my server's root URI to be a directory like:

        C:\Documents and Settings\pjl\My Documents\My Pictures\

That's held in a File variable. I convert that to a URI then to a String like:

        String rootURI = rootDir.toURI().toString();

That gives me a URI like:

        file:/C:/Documents%20and%20Settings/pjl/My%20Documents/My%20Pictures/

but that doesn't work.  I get FileNotFound for all files.

What's the right way to use Windows' directories with Restlet?

- Paul

Reply via email to