code: protected final void configureWebAppContext(WebAppContext context,
  			ServletContextInitializer... initializers) {
  		Assert.notNull(context, "Context must not be null");
  		context.setTempDirectory(getTempDirectory());
  		if (this.resourceLoader != null) {
  			context.setClassLoader(this.resourceLoader.getClassLoader());
  		}
  		String contextPath = getContextPath();
  		context.setContextPath(StringUtils.hasLength(contextPath) ? contextPath : "/");
  		context.setDisplayName(getDisplayName());
  		configureDocumentRoot(context);
  		if (isRegisterDefaultServlet()) {
  			addDefaultServlet(context);
  		}
  		if (shouldRegisterJspServlet()) {
  			addJspServlet(context);
  			context.addBean(new JasperInitializer(context), true);
  		}
  		addLocaleMappings(context);
  		ServletContextInitializer[] initializersToUse = mergeInitializers(initializers);
  		Configuration[] configurations = getWebAppContextConfigurations(context,
  				initializersToUse);
  		context.setConfigurations(configurations);
  		context.setThrowUnavailableOnStartupException(true);
  		configureSession(context);
  		postProcessWebAppContext(context);
  	}
docs: Configure the given Jetty {@link WebAppContext} for use.
  @param context the context to configure
  @param initializers the set of initializers to apply