From: "Tony LaPaso" <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 5:53 PM
Subject: ??? Tomcat Bug? -- Throws NullPointerException ???
> public class HelloWorld extends HttpServlet {
>public void doGet(HttpServletRequest request,
> HttpServletResponse response)
>
On Thu, 18 Jul 2002, Tony LaPaso wrote:
> Date: Thu, 18 Jul 2002 00:38:51 -0500
> From: Tony LaPaso <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: ??? Tomcat Bug? -- Throws Null
Actually, you are wrong but your comments helped me find the
general cause of the problem...it is not a bug in
Tomcat...comments below
- Original Message -
From: "Jacob Kjome" <[EMAIL PROTECTED]>
> Just because you are creating an inner class within a servlet
does not mean
> that
Just because you are creating an inner class within a servlet does not mean
that that inner class now gets access to the ServletConfig. That is what
is happening when you call getServletContext() from the init() method. You
are implicitly saying config.getServletContext (where config is the