code: @SuppressWarnings("unchecked")
      public void init(ServletConfig config) throws ServletException
      {
          super.init(config);
          // Move init params to my properties
          Enumeration<String> paramNames = this.getInitParameterNames();
          while (paramNames.hasMoreElements())
          {
              String paramName = paramNames.nextElement();
              this.setProperty(paramName, this.getInitParameter(paramName));
          }
          if (Boolean.TRUE.toString().equalsIgnoreCase(this.getInitParameter(LOG_PARAM)))
              logger = Logger.getLogger(PROPERTY_PREFIX);
      }
docs: web servlet init method.
  @exception ServletException From inherited class.