类 InitParameterConfiguringServletContextInitializer

    • 方法详细资料

      • onStartup

        public void onStartup​(javax.servlet.ServletContext servletContext)
                       throws javax.servlet.ServletException
        从接口复制的说明: ServletContextInitializer
        Configure the given ServletContext with any servlets, filters, listeners context-params and attributes necessary for initialization.
        指定者:
        onStartup 在接口中 ServletContextInitializer
        参数:
        servletContext - the ServletContext to initialize
        抛出:
        javax.servlet.ServletException - if any call against the given ServletContext throws a ServletException