on 11/1/00 1:52 PM, Craig R. McClanahan at [EMAIL PROTECTED]
wrote:
> "Harding, David" wrote:
>
>> odd, getServletContext() returns null for me....
>
> The 99.9% cause of this one is having an init(ServletConfig config) method
> that
> fails to call super.init(config) somewhere.
>
> I use the init() method that takes no arguments to avoid this kind of problem.
>
> Craig McClanahan
>
my init looks like this:
public void init(ServletConfig config)
throws ServletException {
super.init(config);
some_param = config.getInitParameter("a_parameter");
// gets some more of these and stores them in private members
}
hrmmmm....so this does not appear to be the problem.
cheers,
david