code: public WebApplicationContext addWebApplication(String contextPathSpec,
                                                     String webApp)
          throws IOException
      {
          return addWebApplication(null,contextPathSpec,webApp);
      }
docs: Add Web Application.
  @param contextPathSpec The context path spec. Which must be of
  the form / or /path/*
  @param webApp The Web application directory or WAR file.
  @return The WebApplicationContext
  @exception IOException