W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 1997

Re: root resource

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Fri, 21 Nov 1997 09:51:45 +0100
Message-Id: <199711210851.JAA09277@www43.inria.fr>
To: Julianne Freire de Sousa Pepeu <jfsp@di.ufpe.br>
cc: www-jigsaw@w3.org, Benoit.Mahe@sophia.inria.fr
> Hi!
> I read that "The parent of a resource is the resource that is 
> responsible for its loading in memory. All resources should 
> have a parent, except for the server's root resource (whose 
> parent is null)."
> So, I'd like to know how the root resource is loaded in memory.
 The root resource is loaded by the server itself (see httpd.java).
 This resource is the entry of the resource space.

> Another question: why the parent attribute is defined in
> the HTTPResource class and not in the Resource class?

 Because the Resource class has to be as generic as possible. Resource
 is in the w3c.tools.store package and in this package we don't have
 to know its parent. This package only manage the storage of resources.

- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team           

  http://www.w3.org/People/Mahe - bmahe@w3.org - + 
Received on Friday, 21 November 1997 03:54:19 UTC

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