title: JNLP Extension does not open in Internet Explorer
body: <p>I am having an issue of opening *.jnlp extensions using Internet Explorer. The extension opens properly in Chrome and Firefox, leading me to believe it is an issue with IE and <em>possibly</em> the web server/JNLP configuration. Specifically, internet explorer opens the *.jnlp file as an *.xml script instead of downloading the file or opening it with java web start. </p>
  
  <p><strong>Example:</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  - &lt;!--
   JNLP File for Downtime Registration Application
    --&gt;
  - &lt;jnlp spec="1.7+" codebase="http://foo:8080/bar" href="bar.jnlp"&gt;
  - &lt;information&gt;
    &lt;title&gt;FOO&lt;/title&gt;
    &lt;vendor&gt;FOO Inc.&lt;/vendor&gt;
    &lt;description&gt;FOO BAR System&lt;/description&gt;
  - &lt;shortcut online="false"&gt;
    &lt;desktop /&gt;
    &lt;menu submenu="FOO" /&gt;
    &lt;/shortcut&gt;
    &lt;/information&gt;
  - &lt;security&gt;
    &lt;all-permissions /&gt;
    &lt;/security&gt;
  - &lt;resources&gt;
    &lt;j2se version="1.7+" java-vm-args="-client" /&gt;
  
    ... 
  
    &lt;/resources&gt;
    &lt;application-desc main-class="FooBarMainApp" /&gt;
    &lt;/jnlp&gt;
  </code></pre>
  
  <p>I have tried the following "Fixes"/workarounds to no avail:</p>
  
  <ul>
  <li>Run IE as Administrator</li>
  <li>Adding URL to compatibility view</li>
  <li>Changing JAVA settings to "Always allow JNLP/MIME"</li>
  <li>Reset internet explorer advanced settings</li>
  <li>Change the MIME extension settings in the web.xml file of the web server</li>
  <li>Change IE setting to always allow file downloads</li>
  </ul>
  
  <p><strong>Update:</strong> <em>I was able to fix this issue with the workaround I posted below. However, I am looking for a more permanent fix if anyone has suggestions. Specifically, I am looking for a way to fix this on the business/server side if at all possible. It would be nice if the users didn't need to change any settings on their side (other then switching from IE to a different browser).</em></p>
  
  <p><strong>MIME-Mapping in web.xml:</strong> </p>
  
  <pre class="lang-xml prettyprint-override"><code>  &lt;mime-mapping&gt;
      &lt;extension&gt;jnlp&lt;/extension&gt;
      &lt;mime-type&gt;application/x-java-jnlp-file&lt;/mime-type&gt;
  &lt;/mime-mapping&gt;
  </code></pre>