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

Re: Changing initial root resource

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Fri, 6 Jun 1997 09:32:01 +0200 (MET DST)
Message-Id: <199706060732.JAA12983@www43.inria.fr>
To: mark@intraspect.com
Cc: www-jigsaw@w3.org
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 03:32:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT