code: @Override
      public void init(ServletConfig config) throws ServletException {
          LOGGER.info("Initializing filesystem resource servlet");
          super.init(config);
  
          final String directory = config.getInitParameter("directory");
          if (StringUtils.isNotBlank(directory)) {
              this.directory = directory;
          }
  
          final String absolute = config.getInitParameter("absolute");
          if (StringUtils.isNotBlank(absolute)) {
              this.absolute = BooleanUtil.valueOf(absolute);
          }
      }
docs: Overrides the servlet init method and loads sets the InputStream necessary
  to load application.properties.
  @throws ServletException a general error that occurs during initialization