Provide default configuration for a context. This is broadly the programmatic equivalent of the default web.xml and provides the following features: Default servlet mapped to "/" JSP servlet mapped to " .jsp" and "" .jspx" Session timeout of 30 minutes MIME mappin
(String contextPath)
| 1025 | * @param contextPath The path of the context to set the defaults for |
| 1026 | */ |
| 1027 | public void initWebappDefaults(String contextPath) { |
| 1028 | Container ctx = getHost().findChild(contextPath); |
| 1029 | initWebappDefaults((Context) ctx); |
| 1030 | } |
| 1031 | |
| 1032 | |
| 1033 | /** |