3 Replies Latest reply on Apr 26, 2007 12:37 AM by Christian Bauer

    Possible to Stream Object to user in Seam?

    Andrew Schneider Newbie

      We have documents stored in our database that we want to allow users to download. In the past I have implemented this in a Servlet or Struts action and streamed the object back to the client with the appropriate headers set and then closed the connection. I have looked through the Seam book, reference guide, and searched the forums and cannot find anything similar within Seam.

      Is there a way to do this within Seam, or should I just write a Servlet to handle document requests?

      Thanks,
      Andrew