Re: Changing initial root resource

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 UTC