If you only want to stream a file to the browser the example in the faq is perfectly ok.
If you want to do something else, for example create an image from a database blob or whatever for displaying it in a page, you should create your own engine service for that. IIRC there is an example for that (ChartService) in the demo application that you can download (workbench or virtual library) at least that was the case with tap 3. Cheers, detlef -----Original Message----- From: Murray Collingwood [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 27. Juli 2006 09:49 To: tapestry users Subject: Streaming files from Tapestry Hi all This faq page http://tapestry.apache.org/tapestry4/faq.html answers a common question people have about how to serve images or other binary files from a Tapestry application. The details are provided under: 2.6. How do I stream a file to the user from Tapestry? The example that follows works for a 'Document' type which is fine, however the 'disowner' at the bottom of the answer indicates that this is not the way this should be done. Also, recently in the forum when somebody tried this they found it only worked if you were sending this document as the only result (not as an image or other object type in the midst of a page). So, can somebody please document the answer to this question how it should be done? And of course - update the faq. Cheers mc FOCUS Computing - web design Mob: 0415 24 26 24 [EMAIL PROTECTED] http://www.focus-computing.com.au -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 26/07/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]