You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2007/12/27 13:10:09 UTC

svn commit: r607044 - /incubator/sling/trunk/launcher/webapp/src/main/webapp/WEB-INF/web.xml

Author: cziegeler
Date: Thu Dec 27 04:10:09 2007
New Revision: 607044

URL: http://svn.apache.org/viewvc?rev=607044&view=rev
Log:
Sling requires servlet 2.4, so specify this in web.xml.

Modified:
    incubator/sling/trunk/launcher/webapp/src/main/webapp/WEB-INF/web.xml

Modified: incubator/sling/trunk/launcher/webapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/launcher/webapp/src/main/webapp/WEB-INF/web.xml?rev=607044&r1=607043&r2=607044&view=diff
==============================================================================
--- incubator/sling/trunk/launcher/webapp/src/main/webapp/WEB-INF/web.xml (original)
+++ incubator/sling/trunk/launcher/webapp/src/main/webapp/WEB-INF/web.xml Thu Dec 27 04:10:09 2007
@@ -17,13 +17,15 @@
   specific language governing permissions and limitations
   under the License.
 -->
-<!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 version="2.4"
+         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">
     <display-name>Sling Web Application</display-name>
 
     <servlet>
-        <servlet-name>sling</servlet-name>
         <display-name>Sling Servlet</display-name>
+        <servlet-name>sling</servlet-name>
         <servlet-class>
             org.apache.sling.launcher.webapp.SlingServlet
         </servlet-class>