-----Original Message-----
From: Raghunandan Havaldar [SMTP:[EMAIL PROTECTED]]
as far as I know, I get a NullpointerException when
a servlet tries to 'log', cause the GenericServlet
created by the JServ engine is somehow 'not initializing'
the GenericServlet in the 'expected' manner.
When you create a servlet and override the init function you must be sure to
call super.init(ServletConfig) first thing.
This will get the GenericServlet initialized properly and get rid of your
NullPointerException.
ted stockwell
----------------------------------------------
create a servlet like this....
public class MyServlet extends HttpServlet {
public void init(ServletConfig config)
throws ServletException {
super.init(config);
<...your stuff here...>
}
}
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]