RE: tutorial examples.

2006-11-09 Thread Jerome Louvel
> that's it. Thanks. > Is this 'normal' Jerome? I have always found this when browsing? > Hence it is what I expected. The usage of an index file is no specified in Web standards, but this is a common practice supported by Web servers. In general, if the index file is absent, a listing is display

Re: tutorial examples.

2006-11-09 Thread Dave Pawson
On 09/11/06, Jerome Louvel <[EMAIL PROTECTED]> wrote: > How to change this such that I get either a directory listing > or index.html (or variants) by default please? > Or how to specify an explicit file The Directory Handler disables the content negotiation by default which causes this problem

RE: tutorial examples.

2006-11-09 Thread Jerome Louvel
> Note that no external configuration file is needed. If you want to > customize the mapping between file extensions and metadata (media > type, language or encoding), you can use the Application's > "localService" property. Updated in the latest tutorial version, it's is "metadataService" now.

Re: tutorial examples.

2006-11-09 Thread Dave Pawson
re example 6. Tutorial says Note that no external configuration file is needed. If you want to customize the mapping between file extensions and metadata (media type, language or encoding), you can use the Application's "localService" property. Should this be org/restlet/Application.html#getMeta

Re: tutorial examples.

2006-11-09 Thread Dave Pawson
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 c

RE: tutorial examples.

2006-11-09 Thread Jerome Louvel
11:11 > À : discuss@restlet.tigris.org > Objet : Re: tutorial examples. > > On 09/11/06, Dave Pawson <[EMAIL PROTECTED]> wrote: > > > Tutorial, section 6 > > > > @Override > > public Restlet createRoot() > >

RE: tutorial examples.

2006-11-09 Thread Jerome Louvel
distribution. Best regards, Jerome > -Message d'origine- > De : Dave Pawson [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 9 novembre 2006 11:05 > À : discuss@restlet.tigris.org > Objet : Re: tutorial examples. > > On 09/11/06, Jerome Louvel <[EMAIL PROT

Re: tutorial examples.

2006-11-09 Thread Dave Pawson
On 09/11/06, Dave Pawson <[EMAIL PROTECTED]> wrote: Tutorial, section 6 @Override public Restlet createRoot() { return new Directory(getContext(), ROOT_URI); } }; No mention of ROOT_URI in the text ? Guessing how it should be used I'm ge

Re: tutorial examples.

2006-11-09 Thread Dave Pawson
On 09/11/06, Jerome Louvel <[EMAIL PROTECTED]> wrote: In the "/lib" folder of the distribution, there is a README.txt file folder that attempts the list the main dependencies for each JAR. I've reviewed it again and fully updated it (see attached copy). Thanks. Much clearer Jerome. Could this

RE: tutorial examples.

2006-11-09 Thread Jerome Louvel
2006 09:05 > À : discuss@restlet.tigris.org > Objet : Re: tutorial examples. > > Thanks AJ > > On 08/11/06, A.J. Barnes <[EMAIL PROTECTED]> wrote: > > > Looks like you're missing the javax jar. In the lib fold, > there are two > > javax.servlet fo

Re: tutorial examples.

2006-11-09 Thread Dave Pawson
Thanks AJ On 08/11/06, A.J. Barnes <[EMAIL PROTECTED]> wrote: Looks like you're missing the javax jar. In the lib fold, there are two javax.servlet folders. From what I remember you need to include the javax.servlet.jar from one of these, particularly from javax.servlet_2.5 if you are using Jet

Re: tutorial examples.

2006-11-08 Thread A.J. Barnes
Hi Dave, Looks like you're missing the javax jar. In the lib fold, there are two javax.servlet folders. From what I remember you need to include the javax.servlet.jar from one of these, particularly from javax.servlet_2.5 if you are using Jetty 6. I think we probably need an entry in the Wiki, bu

Re: tutorial examples.

2006-11-08 Thread Dave Pawson
On 08/11/06, Dave Pawson <[EMAIL PROTECTED]> wrote: On 08/11/06, A.J. Barnes <[EMAIL PROTECTED]> wrote: > Dave, > > For the Client the jar you need is com.noelios.ext.net com.noelios.ext.restlet.jar com.noelios.restlet.ext.net.jar org.restlet.jar and the first one ran! Oh dear. Following the

Re: tutorial examples.

2006-11-08 Thread Dave Pawson
On 08/11/06, A.J. Barnes <[EMAIL PROTECTED]> wrote: Dave, For the Client the jar you need is com.noelios.ext.net com.noelios.ext.restlet.jar com.noelios.restlet.ext.net.jar org.restlet.jar and the first one ran! Thanks AJ. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

Re: tutorial examples.

2006-11-08 Thread A.J. Barnes
Dave, For the Client the jar you need is com.noelios.ext.net AJ