public void init(ServletConfig servletConfig) throws ServletException
    {
        super.init(servletConfig);
        ServletTask.initServlet(this, BasicServlet.SERVLET_TYPE.XML);
        Enumeration<?> paramNames = this.getInitParameterNames();
        while (paramNames.hasMoreElements())
        {
            String strProperty = (String)paramNames.nextElement();
            String strValue = this.getInitParameter(strProperty);
            m_initProperties.put(strProperty, strValue);
        }
    }
public void init ( ServletConfig servletConfig ) throws ServletException { super . init ( servletConfig ) ; ServletTask . initServlet ( this , BasicServlet . SERVLET_TYPE . XML ) ; Enumeration < ? > paramNames = this . getInitParameterNames ( ) ; while ( paramNames . hasMoreElements ( ) ) { String strProperty = ( String ) paramNames . nextElement ( ) ; String strValue = this . getInitParameter ( strProperty ) ; m_initProperties . put ( strProperty , strValue ) ; } }
Initialize the servlet.
@param servletConfig The servlet configuration.