This is equivalent to adding a web application to a Host's appBase (usually Tomcat's webapps directory). By default, the equivalent of the default web.xml will be applied to the web application (see #initWebappDefaults(String)). This may be prevented by calling {@link #setAddDefaultWebXmlToW
(String contextPath, String docBase)
| 230 | * @return the deployed context |
| 231 | */ |
| 232 | public Context addWebapp(String contextPath, String docBase) { |
| 233 | return addWebapp(getHost(), contextPath, docBase); |
| 234 | } |
| 235 | |
| 236 | |
| 237 | /** |