title: How to include an applet from a web page in a different directory?
body: <p>I'm trying to use the jZebra printing applet and am not sure how to use it from pages in different directories. The sample page has the following code:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;applet 
      id="qz"
      name="QZ Print Plugin"
      code="qz.PrintApplet.class"
      width="55"
      height="55"&gt;
      &lt;param name="jnlp_href" value="qz-print_jnlp.jnlp"&gt;
      &lt;param name="cache_option" value="plugin"&gt;
      &lt;param name="disable_logging" value="false"&gt;
  &lt;/applet&gt;
  </code></pre>
  
  <p>If the applet (qz-print.jar) and another file (qz-print_jnlp.jnlp) are in the same directory as the page with that code, then it works fine. However, I don't know what to change to get it to work if the web page is in a different directory. It seems like this is a trivial question, but I've been searching and haven't been able to find the answer.</p>
  
  <p>How should I modify the above code to get the applet in the web page when it's in a different directory?</p>