Changing a file type html to jsp
<p>I am creating a chat application. </p>

<p>In my code I try to change the file <code>chat.html</code> into <code>chat.jsp</code>.</p>

<p>It creates an error and download that page.</p>

<pre class="lang-js prettyprint-override"><code>server.route([
      { method: 'GET', path: '/', handler: { file: "chat.html" } },
</code></pre>