title: Problem while Upgrading web.xml to 2.4 from 2.3
body: <p>I am trying to upgrade my web.xml from 2.3 to 2.4, so I changed my web.xml to something like this - </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!--&lt;!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"&gt;
  &lt;!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1
  Servlet 2.4//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd"&gt;--&gt;
  
  &lt;!--
      ===========================================================
                             WUI - WEB.XML
      ===========================================================
  --&gt; 
  
  &lt;web-app id="WebApp" 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"&gt;
  
      &lt;description&gt;Odyssey Web User Interface&lt;/description&gt;
      &lt;display-name&gt;wui&lt;/display-name&gt;
  
  
  
  &lt;!-- Uncomment this when setting up the prevent-multiple-login mechanism --&gt;
  &lt;!--
      &lt;listener&gt;
          &lt;listener-class&gt;com.xxx.xxxnListener&lt;/listener-class&gt;
      &lt;/listener&gt;
  --&gt;
  
      &lt;!--  local cache filter setup --&gt;
      &lt;filter&gt; 
        &lt;filter-name&gt;local-cache&lt;/filter-name&gt; 
        &lt;filter-class&gt;com.xxx.xxxcheFilter&lt;/filter-class&gt; 
     &lt;/filter&gt; 
  ....
  </code></pre>
  
  <p>When I start my Server, I get this error - </p>
  
  <blockquote>
    <p>weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
      problem: cvc-complex-type.2.4a: Expected elements 'servlet-class@http://java.sun.com/xml/ns/javaee jsp-file@http://java.sun.com/xml/ns/javaee' instead of 'display-name@http://java.sun.com/xml/ns/javaee' here in element servlet@http://java.sun.com/xml/ns/javaee:
      problem: cvc-complex-type.2.4a: Expected elements 'servlet-class@http://java.sun.com/xml/ns/javaee jsp-file@http://java.sun.com/xml/ns/javaee' instead of 'description@http://java.sun.com/xml/ns/javaee' here in element servlet@http://java.sun.com/xml/ns/javaee:</p>
  </blockquote>
  
  <p>I am using weblogic 10.1 server.</p>
  
  <p>Any idea what else am I supposed to do.</p>
  
  <p>Thanks.</p>