title: Sending OutputStream to browser and let browser save it
body: <p>I want to export Data from a Rich Faces Data Table I have created outputStream from the data in the Data Table. Now want to send this OutputStream to browser and let it save. How can I do this?</p>
  
  <p><code>FileOutputStream stream = new FileOutputStream(new File(PATH));</code></p>
  
  <p><code>OutputStream out = myMthodToCreateOutPutStream();</code></p>
  
  <p>Now how to save this <code>out</code> to browser   .       </p>