Women in Technology

Hear us Roar



Article:
  How Servlet Containers Work
Subject:   Worry
Date:   2007-04-01 00:44:39
From:   NDLexus
Response to: Worry

calling super.init() doesn't even resolve in my case. Deploying the servlet given in this example and all the others on the net, doesn't trigger the init() method. And when some examples say to call super.init(), there's no such method in super to be resolved, so from the init() method below, I'm not able to call super.init(). Please advice as what's going on wrong?


public class PrimitiveServlet implements Servlet {


public void init(ServletConfig config) throws ServletException {
System.out.println("init");
}
....
}