title: Lift - Page displays as XML in Firefox rather than HTML
body: <p>I'm trying to get a simple Lift example running and I'm having a strange issue. I am using the Sonatype sample list project <a href="http://github.com/sonatype/m2eclipse-scala/tree/master/samples/prj-liftbased/" rel="noreferrer">here</a>. I modified the HTML slightly, but it wasn't working originally either. The issue I'm having is that when I run the local jetty server and try to access <a href="http://localhost:8080" rel="noreferrer">http://localhost:8080</a> it displays as XML in Firefox 3.6.10 rather than HTML. Note, it displays fine in IE8 but the Content-Type in IE8 is "text/html". I assume Firefox doesn't like the Content-Type "application/xhtml+xml" for some reason. The message in Firefox says:</p>
  
  <blockquote>
    <p>This XML file does not appear to have
    any style information associated with
    it. The document tree is shown below.</p>
  </blockquote>
  
  <p>Below are the response headers from Firebug:</p>
  
  <pre><code>Expires Thu, 16 Sep 2010 03:55:04 UTC
  Content-Length  558
  Cache-Control   no-cache; private; no-store
  Content-Type    application/xhtml+xml; charset=utf-8
  Pragma  no-cache
  Date    Thu, 16 Sep 2010 03:55:04 UTC
  X-Lift-Version  2.0-scala280-SNAPSHOT
  Server  Jetty(6.1.22)
  </code></pre>
  
  <p>..and the actual response:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Lift Test&lt;/title&gt;    
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h2&gt;Welcome to your project!&lt;/h2&gt;
      &lt;p&gt;  
        &lt;span&gt;Welcome to toto01 at Wed Sep 15 20:55:04 PDT 2010&lt;/span&gt;
      &lt;/p&gt;
      &lt;script type="text/javascript" src="/ajax_request/liftAjax.js"&gt;&lt;/script&gt;    
      &lt;script type="text/javascript"&gt;
        // &lt;![CDATA[   
        var lift_page = "F586508075515C1K";
        // ]]&gt;
     &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt; 
  </code></pre>
  
  <p>Any ideas as to what is going wrong? How would I change the Content-Type in Lift for Firefox if that is the issue?</p>