On Tue, 27 Feb 2001, Shahed Ali wrote:

> Sorry for this stupid question,
> but how do I use the log() method in servlets ?
>
> In JSP application.log() seems to work,
> but in servlets, I tried getServletContext().log("adad") etc and
> I keep getting NullPointerExceptions

The function signature is log(String message, Throwable, throwable).  Is
this what might be casuing the null pointer exception?

-- Brett
                                     http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Stupidity, like virtue, is its own reward.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to