title: Generate and download file with jboss seam
body: <p>I need to add an 'export' function to an existing web app using seam. The purpose is to export search results to a csv file. I have no problem generating a csv, but I do not know how the send the csv back to the user.
  I do not want to store the csv on the server because that would be waisted storage space. How could I achieve this in jboss seam?</p>