code: public static void initDelegatingConfigs(ModuleConfig moduleConfig, ServletContext servletContext)
      {
          ActionConfig[] actionConfigs = moduleConfig.findActionConfigs();
          
          // Initialize action configs.
          for (int i = 0; i < actionConfigs.length; i++) {
              ActionConfig actionConfig = actionConfigs[i];
              if (actionConfig instanceof DelegatingActionMapping) {
                  ((DelegatingActionMapping) actionConfig).init(servletContext);
              } else {
                  // Initialize action-level exception configs.
                  ExceptionConfig[] exceptionConfigs = actionConfig.findExceptionConfigs();
                  for (int j = 0; j < exceptionConfigs.length; j++) {
                      ExceptionConfig exceptionConfig = exceptionConfigs[j];
                      if (exceptionConfig instanceof DelegatingExceptionConfig) {
                          ((DelegatingExceptionConfig) exceptionConfig).init(servletContext);
                      }
                  }
              }
          }
          
          // Initialize module-level exception configs.
          ExceptionConfig[] exceptionConfigs = moduleConfig.findExceptionConfigs();
          for (int i = 0; i < exceptionConfigs.length; i++) {
              ExceptionConfig exceptionConfig = exceptionConfigs[i];
              if (exceptionConfig instanceof DelegatingExceptionConfig) {
                  ((DelegatingExceptionConfig) exceptionConfig).init(servletContext);
              }
          }
      }
docs: Initialize delegating action configs and exception configs for a Struts module that should delegate
  to one generated from a superclass.