title: JNLP arguments in IIS
body: <p>I have a Java web start application that receives one argument. So using a apache tomcat server and all i need to do is to create a JSP file, get the request parameter and send it to the Java application just like the code bellow:</p>
  
  <pre class="lang-jsp prettyprint-override"><code>&lt;%@ page contentType="application/x-java-jnlp-file" %&gt;   
  &lt;%@ page session="true" %&gt;   
  &lt;%   
  response.setDateHeader ("Expires", 0); //prevents caching at the proxy server 
  // Getting the URL parameters from the request
  final String PARAM = "docId";
  String paramDocId = request.getParameter(PARAM);
  %&gt; 
  
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;jnlp spec="1.0+" codebase="http://localhost:8080/" href="printerwebdoc.jsp?&lt;%=PARAM + "=" + paramDocId%&gt;"&gt;
  
       &lt;information&gt;
            &lt;title&gt;Web Doc Printer&lt;/title&gt;
            &lt;vendor&gt;Ambisig&lt;/vendor&gt;
            &lt;description&gt;Web Doc Printer&lt;/description&gt;
       &lt;/information&gt;
  
       &lt;security&gt;
            &lt;all-permissions/&gt;
       &lt;/security&gt;
  
       &lt;resources&gt;
            &lt;j2se version="1.6+" /&gt;
            &lt;jar href="webdocprinter.jar" /&gt;
       &lt;/resources&gt;
  
      &lt;application-desc main-class="main.gui.Main"&gt;
          &lt;argument&gt;&lt;%=paramDocId%&gt;&lt;/argument&gt;
      &lt;/application-desc&gt;
  &lt;/jnlp&gt;
  </code></pre>
  
  <p>The problem is that now i need to run this application on a IIS server and the JSP doesn't work in this condition. </p>
  
  <p>What can i do to pass the argument to my Java web start application using IIS?</p>