title: JSP file opening like a download file
body: <p>I've created a web project on netbeans and my time.jsp page is open like a download file instead open the page on Internet Explorer.
  Why is it happening? 
  Thanks. </p>
  
  <pre><code>&lt;jsp version="2.1" xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:jsp="http://java.sun.com/JSP/page"
        xmlns:webuijsf="http://www.sun.com/webui/webuijsf"&gt;
  &lt;jsp:directive.page contentType="text/html:charset=UTF-8" pageEncoding="UTF-8"/&gt;
  &lt;f:view&gt;
      &lt;webuijsf:page id="page1"&gt;
        &lt;webuijsf:html id="html1"&gt;
          &lt;webuijsf:head id="head1" title="Web Time: A Simple Example"&gt;
            &lt;webuijsf:link id="link1" url="/resources/stylesheet.css"/&gt; 
            &lt;webuijsf:meta content="60" httpEquiv="refresh"/&gt;
          &lt;/webuijsf:head&gt;  
            &lt;webuijsf:body id="body1" style="-rave-layout: grid"&gt;
                &lt;webuijsf:form id="form1"&gt;
                    &lt;webuijsf:staticText id="timeHeader"
                                         style="font-size: 18px; left: 24px; top: 24px;
                                         position: absolute"
                                         text="Current time on the web server"/&gt;
                    &lt;webuijsf:staticText binding=""
                                         id="clockText" style="background-color: black;
                                         color: yellow; font-size: 18px; left: 24px;
                                         top: 48px; position: absolute"/&gt;
                  &lt;/webuijsf:form&gt;
            &lt;/webuijsf:body&gt;                
            &lt;/webuijsf:html&gt;   
          &lt;/webuijsf:page&gt; 
  &lt;/f:view&gt;
  </code></pre>
  
  <p></p>