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: Wed, 04 Jun 1997 13:11:56 -0700
Message-ID: <3395CC0C.FCD478BE@intraspect.com>
To: Anselm Baird-Smith <abaird@w3.org>
CC: www-jigsaw@w3.org
I would be happy to just set the property. What do I set it to? It wants
a resource name which httpd.initialize() eventually looks up in the root
resource store. How do I get that resource name (that I specify as the
value of the w3c.jigsaw.root.name property) mapped to the my resource in
the root resource store?

Also, can I set the property at any time or do I need to set it before
httpd.initialize() or some other time?

Thanks in advance.

As an aside, how did the default "root" resource get set up?


Anselm Baird_Smith wrote:

> Mark Friedman writes:
>  > Assuming I have my own main() method which starts up jigsaw, how
> might I
>  > programmatically set that Jigsaw server's root resource (preferably
>  > before the server starts up)?
> I guess you want to start from scratch (?) ie no config available yet
> ?
>  > What confuses me is how to get the root resource stuff
> bootstrapped. I'd
>  > like to just set the w3c.jigsaw.root.name property, but that
> resource
>  > name needs to get associated with a resource in the root resource
> store.
>  > How do I get that association made before the server starts up
> (i.e.
>  > before my call to httpd.initialize())? Or is there some other way?
> If you don't know before hand you're probably in trouble (you would
> have to go in the store directorectory and try to understand the root
> store  file to know what is there).
> Otherwise, just setting the proerty should work fine (I guess that's
> not whatyou're looking for though ?)
> Anselm
Received on Wednesday, 4 June 1997 16:12:00 UTC

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