title: How to add java code into a Static web page?
body: <p>I want to create a static web page (same content to all clients).</p>
  
  <p>In the meantime, I want to run the site as follows:
    - Double click on the html file. (So if I'm not wrong, I don't need server side, i.e apache tomcat).
      (I want this for now, in order to make progress in logic)</p>
  
  <p>The static web page will contains:</p>
  
  <ol>
  <li>browse button</li>
  <li>OK button</li>
  <li>(by 1&amp;2) when the user choose a file and click OK I want to open a tcp connection to a remote appliation and exchange some data.</li>
  </ol>
  
  <p>Several Q's:</p>
  
  <ol>
  <li>How can I use java code (to send/recive messages) in HTML files (after the user click on "OK") ?</li>
  <li>Do I need to use JSP &amp; TOMCAT ?
  (I want somthing that will be use for my interest only, and will not be as a internet web page)</li>
  </ol>