Hi Dave,

Why don't you use Directory as a handler? It should do all the work for
you...

Best regards,
Jerome  

> -----Message d'origine-----
> De : Dave Pawson [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 16 novembre 2006 10:57
> À : [email protected]
> Objet : MetadataService access
> 
> Problem.
> 
> 
> 1. In my main class I set up the Container
> and set the default filename
>  svc.setIndexName("index");
> 
> In a separate class (my handler) I receive  a GET for
> <url>/
> 
> and I need to get hold of the 'default' file to retrieve.
> 
> Do I need to pass the MetadataService object
> to this class to use it? Or can I get hold of it in some 
> other way please?
> 
> 2. How do I decide which file (say I have index.html and index.txt in
> the root directory) to serve?
> 
> 
> TIA
> 
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk

Reply via email to