title: Newbie: Web.xml Eclipse. xsi:schemaLocation & xmlns:web
body: <p>2.5 xsd and 3.0 xsd. Why there are 2 xsd?</p>
  
  <pre><code>Project Spec:
      Server info: Apache Tomcat/7.0.27
       Servlet version: 3.0
       JSP version: 2.1
       Java version: 1.6.0_32
  
  
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns="http://java.sun.com/xml/ns/javaee" 
  xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" 
  id="WebApp_ID" version="3.0"&gt;
    &lt;display-name&gt;MyFirstApp&lt;/display-name&gt;
    &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
    &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>