code: public HttpServlet initServlet() throws Exception {
  
  		servlet = (HttpServlet) servletClass.newInstance();
  		servlet.init(servletConfig);
  		return servlet;
  	}
docs: Create a new instance of the servlet and initialize it.
  
  @param servletClass the servlet class
  @param servletConfig the servlet config
  @throws ServletException if a servlet exception occurs.