On 09/11/06, Jerome Louvel <[EMAIL PROTECTED]> wrote:

Hi Dave,

Updated FAQ and tutorial with additional info.

Sample value for ROOT_URI = "file:///D:/Restlet/www/docs/api/".

Typo? javadoc for Directory suggests file://
Need to differentiate between file://D:/
and file:/// perhaps?




You can also check the complete tutorial source code in the
"src\com.noelios.restlet.example\com\noelios\restlet\example\tutorial"
directory of the distribution.

Identical to the tutorial html pages?


The tutorial seems to say (to me) that the example will 'list a directory'
or (perhaps as Apache), serve up index.html etc.

No documentation on the relationship between
     public Restlet createRoot() {
       return new Directory(getContext(), "file://files/endpoint");
     }

and

   container.getDefaultHost().attach("/services", application);

Will browsing to localhost/services give me a directory listing
of /files/endpoint directory?
or can I cause the display of index.html in that directory? If so, how please?

regards




--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Reply via email to