tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Ribeaud" <>
Subject [winNT, tomcat 3.2.3, jdk1.3.0_01]this.getServletContext();
Date Mon, 08 Oct 2001 13:35:32 GMT

I have been trying to find out why I suddenly get a NullPointException in the service() function
with the following lines of code:
  ServletContext context = this.getServletContext(); (and any varation)
and why this:
  ServletContext context = config.getServletContext();
works fine in the init() function. Do I have forgotten something? Any help would be gratefully
appreciated. Have a nice day,


View raw message