Re: Changing initial root resource

Thanks, but once again I'm still stuck. The root_store field and the
changeRoot method of httpd are both private.  Is there some alternate
way to do what I want or will I have to alter some Jigsaw code?

-Mark

Anselm Baird_Smith wrote:

> Mark Friedman writes:
>  > Maybe I'm dense but I'm still missing something. Suppose I have a
> class
>  > named "foo" which implements a Resource. How do I get that class
> into
>  > the root resource store mapped to some name "bar" so that I can set
>
> the
>  > w3c.jigsaw.root.name property to "bar"?
>
> I see. In that case the simplest way is probably to initialize httpd,
> get the root resource store, addResource to it (now "foo" is in the
> root resource store for ever). Then you can straight do a changeRoot
> (for the first time).
>
> Next times you'll just have to set the properties.
>
> Anselm.

Received on Friday, 6 June 1997 12:32:17 UTC