Update all webapps to use the servlet 2.5 xsd
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 27 Jan 2007 22:35:35 +0000 (22:35 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 27 Jan 2007 22:35:35 +0000 (22:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@500644 13f79535-47bb-0310-9956-ffa450edef68

webapps/ROOT/WEB-INF/web.xml
webapps/docs/WEB-INF/web.xml
webapps/docs/changelog.xml
webapps/examples/WEB-INF/web.xml
webapps/host-manager/WEB-INF/web.xml
webapps/manager/WEB-INF/web.xml

index bc1f922..d6e79da 100644 (file)
@@ -18,8 +18,8 @@
 
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
-    version="2.4">
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
+    version="2.5">
 
   <display-name>Welcome to Tomcat</display-name>
   <description>
index 3cc537d..7fe7df3 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
-    version="2.4">
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
+    version="2.5">
 
   <display-name>Tomcat Documentation</display-name>
   <description>
index 595a255..f03e685 100644 (file)
@@ -73,6 +73,9 @@
       <docs>
         Add a virtual hosting how-to contributed by Hassan Schroeder. (markt)
       </docs>
+      <update>
+        Update all webapps to use the servlet 2.5 xsd. (markt)
+      </update>
     </changelog>
   </subsection>
 </section>
index f36b478..545df2e 100644 (file)
@@ -18,8 +18,8 @@
 
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
-    version="2.4">
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
+    version="2.5">
 
     <description>
       Servlet and JSP Examples.
index 6de1fc5..45310be 100644 (file)
@@ -1,10 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
-<!DOCTYPE web-app
-    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
-    "http://java.sun.com/dtd/web-app_2_3.dtd">
-
-<web-app>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
+    version="2.5">
 
   <display-name>Tomcat Manager Application</display-name>
   <description>
index 1ee4519..c48f2ea 100644 (file)
@@ -18,8 +18,8 @@
 
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
-    version="2.4">
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
+    version="2.5">
 
   <display-name>Tomcat Manager Application</display-name>
   <description>