title: Download a file with JSF?
body: <p>which is the right way to download a file using JSF?, just putting a link to the file ?? in that case how do i get the file URL?? </p>
  
  <p>i have seen one example using BufferedInputStream:</p>
  
  <p><a href="http://www.winstonprakash.com/articles/jsf/file_download_link.htm" rel="noreferrer">http://www.winstonprakash.com/articles/jsf/file_download_link.htm</a></p>
  
  <p>What are the differences?</p>
  
  <p>Thanks</p>