title: How can my web application written in Java open a file on the client side?
body: <p>I have written a Java web application that copies a file from the server to  the client's machine. The user should be able to open that file on the client side by a click. In my java code I  use :</p>
  
  <pre><code>Runtime.getRuntime().exec("rundll32 SHELL32.DLL,ShellExec_RunDLL "+ FilePath);  
  </code></pre>
  
  <p>Where the FilePath has the client's IP address. This command opens the file but the problem is that the file opens on the server side NOT the client. Does anyone has an idea how I can do this?</p>
  
  <p>Thanks,</p>