title: web.xml the markup in the document following the root element must be well-formed
body: <p>I'm trying to set up DWR, direct web remoting, and they had me put in the web.xml this piece of code here,</p>
  
  <pre><code>&lt;servlet&gt;
    &lt;display-name&gt;DWR Servlet&lt;/display-name&gt;
    &lt;servlet-name&gt;dwr-invoker&lt;/servlet-name&gt;  
    &lt;servlet-class&gt;org.directwebremoting.servlet.DwrServlet&lt;/servlet-class&gt;
    &lt;init-param&gt;
       &lt;param-name&gt;debug&lt;/param-name&gt;
       &lt;param-value&gt;true&lt;/param-value&gt;
    &lt;/init-param&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
    &lt;servlet-name&gt;dwr-invoker&lt;/servlet-name&gt;
    &lt;url-pattern&gt;/dwr/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>but I get the error the markup in the document following the root element must be well-formed, and it is at the servlet-mapping part. I tried putting the servlet mapping inside of servlet and it got rid of the error but the webpage <code>http://localhost:8081/WebProject01/dwr/</code>  still wouldn't come up. The dwr.xml didn't have any errors so that looked good. Is there another way to fix the error message?
  Thanks for your time.</p>