On Sun, Sep 08, 2002 at 03:34:42PM -0700, Ian Clarke wrote:
> On Sun, Sep 08, 2002 at 11:12:56PM +0200, Oskar Sandberg wrote:
> > Unfortunately, there is no right way to do that. 
> 
> Well, is it possible to get to it via a static variable or method 
> somewhere?

No, I have tried desperately to avoid static hacks to solve such things.
I was trying to solve the problem before, when I wanted to make an index
servlet, but I wasn't able to come up with a solution I was happy with.
It is partially the servlet interfaces fault, and partially the fault of
Tavin's system for configuring the services and servlets (it is nice that
is flexible, but I am not sure I agree that it is something that should
be in the normal configuration file as it defines the structure of the
program.)

> I am somewhat confused by the distinction between a Params object, and a 
> Config object too.

The Config objects contains the defaults and descriptions of described
parameters, a Params objects describes the contents of one or more config
files (and may be given a Config object so it can return defaults).

-- 

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to