diff --git a/conf/web.xml b/conf/web.xml index 5ec338b94362..eefc6165d2f4 100644 --- a/conf/web.xml +++ b/conf/web.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee + http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" + version="3.1"> diff --git a/java/org/apache/catalina/deploy/WebXml.java b/java/org/apache/catalina/deploy/WebXml.java index 081b51254343..5e793a563e66 100644 --- a/java/org/apache/catalina/deploy/WebXml.java +++ b/java/org/apache/catalina/deploy/WebXml.java @@ -630,12 +630,12 @@ public String toXml() { sb.append("\n"); // Root element - sb.append(" - org_apache_tomcat_websocket diff --git a/test/org/apache/catalina/startup/web-1lifecyclecallback.xml b/test/org/apache/catalina/startup/web-1lifecyclecallback.xml index 4b9a1469fc8e..1553e1ec1bdc 100644 --- a/test/org/apache/catalina/startup/web-1lifecyclecallback.xml +++ b/test/org/apache/catalina/startup/web-1lifecyclecallback.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - test.TestServlet diff --git a/test/org/apache/catalina/startup/web-1ordering.xml b/test/org/apache/catalina/startup/web-1ordering.xml index ebcbbdf1e055..427b365347a9 100644 --- a/test/org/apache/catalina/startup/web-1ordering.xml +++ b/test/org/apache/catalina/startup/web-1ordering.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - bar diff --git a/test/org/apache/catalina/startup/web-2lifecyclecallback.xml b/test/org/apache/catalina/startup/web-2lifecyclecallback.xml index ad7c531cf3b3..47ca857d9527 100644 --- a/test/org/apache/catalina/startup/web-2lifecyclecallback.xml +++ b/test/org/apache/catalina/startup/web-2lifecyclecallback.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - test.TestServlet diff --git a/test/org/apache/catalina/startup/web-2ordering.xml b/test/org/apache/catalina/startup/web-2ordering.xml index c5595857aabc..9f56ca131861 100644 --- a/test/org/apache/catalina/startup/web-2ordering.xml +++ b/test/org/apache/catalina/startup/web-2ordering.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - foo diff --git a/test/org/apache/catalina/startup/web-fragment-1name.xml b/test/org/apache/catalina/startup/web-fragment-1name.xml index 01638fdb6117..f423b0a1cdd5 100644 --- a/test/org/apache/catalina/startup/web-fragment-1name.xml +++ b/test/org/apache/catalina/startup/web-fragment-1name.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - name1 \ No newline at end of file diff --git a/test/org/apache/catalina/startup/web-fragment-1ordering.xml b/test/org/apache/catalina/startup/web-fragment-1ordering.xml index 0cff17827d6f..7c146bd2508f 100644 --- a/test/org/apache/catalina/startup/web-fragment-1ordering.xml +++ b/test/org/apache/catalina/startup/web-fragment-1ordering.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - diff --git a/test/org/apache/catalina/startup/web-fragment-2name.xml b/test/org/apache/catalina/startup/web-fragment-2name.xml index 8c6cd638db7b..df52e0cda4f2 100644 --- a/test/org/apache/catalina/startup/web-fragment-2name.xml +++ b/test/org/apache/catalina/startup/web-fragment-2name.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - name1 name2 diff --git a/test/org/apache/catalina/startup/web-fragment-2ordering.xml b/test/org/apache/catalina/startup/web-fragment-2ordering.xml index 07f2f363337c..f34a8ccfdc8d 100644 --- a/test/org/apache/catalina/startup/web-fragment-2ordering.xml +++ b/test/org/apache/catalina/startup/web-fragment-2ordering.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - diff --git a/webapps/ROOT/WEB-INF/web.xml b/webapps/ROOT/WEB-INF/web.xml index f2bd24374bdf..55fc2115df9b 100644 --- a/webapps/ROOT/WEB-INF/web.xml +++ b/webapps/ROOT/WEB-INF/web.xml @@ -15,12 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - - Welcome to Tomcat diff --git a/webapps/docs/WEB-INF/web.xml b/webapps/docs/WEB-INF/web.xml index 46babd418c9c..224b0fa28073 100644 --- a/webapps/docs/WEB-INF/web.xml +++ b/webapps/docs/WEB-INF/web.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - Tomcat Documentation diff --git a/webapps/examples/WEB-INF/web.xml b/webapps/examples/WEB-INF/web.xml index 78fa07fabac7..769d0900c254 100644 --- a/webapps/examples/WEB-INF/web.xml +++ b/webapps/examples/WEB-INF/web.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - diff --git a/webapps/host-manager/WEB-INF/web.xml b/webapps/host-manager/WEB-INF/web.xml index 30f319b8d6a1..c2d6f0aa6d39 100644 --- a/webapps/host-manager/WEB-INF/web.xml +++ b/webapps/host-manager/WEB-INF/web.xml @@ -15,12 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - - Tomcat Host Manager Application diff --git a/webapps/manager/WEB-INF/web.xml b/webapps/manager/WEB-INF/web.xml index 8fb77280014b..230199e04824 100644 --- a/webapps/manager/WEB-INF/web.xml +++ b/webapps/manager/WEB-INF/web.xml @@ -15,12 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - - Tomcat Manager Application