code: @Override
  	public synchronized void addWelcomeFiles(final WelcomeFileModel model) {
  		final ServletContextHandler context = server
  				.getOrCreateContext(model);
  
  		context.setWelcomeFiles(model.getWelcomeFiles());
  
  		if (context.getServletHandler() == null || context.getServletHandler().getServletMappings() == null) {
  			return;
  		}
  		for (ServletMapping mapping : context.getServletHandler().getServletMappings()) {
  			ServletHolder servlet = context.getServletHandler().getServlet(mapping.getServletName());
  			try {
  				if (servlet.getServlet() instanceof ResourceServlet) {
  					LOG.debug("Reinitializing {} with new welcome files {}", servlet, Arrays.asList(model.getWelcomeFiles()));
  					servlet.getServlet().init(servlet.getServlet().getServletConfig());
  				}
  			} catch (ServletException e) {
  				LOG.warn("Problem reinitializing welcome files of default servlet", e);
  			}
  		}
  	}
docs: PAXWEB-123: try to register WelcomeFiles differently