- From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
- Date: Fri, 21 Nov 1997 09:51:45 +0100
- 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 - +33.4.93.65.79.89 ---------------------------------------------------------------------
Received on Friday, 21 November 1997 03:54:19 UTC