W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1997

Re: Changing initial root resource

From: Mark Friedman <mark@intraspect.com>
Date: Fri, 06 Jun 1997 09:32:17 -0700
Message-ID: <33983B91.4023DF05@intraspect.com>
To: Anselm Baird-Smith <abaird@w3.org>
CC: www-jigsaw@w3.org
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?


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:31 UTC