C
cameron
I am very new to Java and I work with C# at work, (so please
excuse my C#/M$ references), I need a reference to the
ServletConfig in some of my classes that get instanciated in
a servlet, but the idea of passing the ServletConfig into
each object seems silly. In C# I can do something like:
HttpServerContext.Current
To get a current reference. Is there an equivelent
class/reference for the ServletConfig object or something
that will do/have the equivelent methods and attributes?
Thanks
-Cam
excuse my C#/M$ references), I need a reference to the
ServletConfig in some of my classes that get instanciated in
a servlet, but the idea of passing the ServletConfig into
each object seems silly. In C# I can do something like:
HttpServerContext.Current
To get a current reference. Is there an equivelent
class/reference for the ServletConfig object or something
that will do/have the equivelent methods and attributes?
Thanks
-Cam