Answer Posted / Hirdesh Kumar Bharti
To stream a file to the user in Tapestry, you can use an HttpStreamResponse. Here's a basic example:nn`Response response = new HttpStreamResponse(new FileInputStream(new File("path/to/yourfile")), "content-type-goes-here");`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category