Thanks for the warning. I'm using this to serve a 1-pixel gif file
every 20 seconds so I don't think this will cause performance issues.
Note taken though.....
Chuck
Peter Stavrinides wrote:
Just return it in the page's onActivate() method.
Just be careful of this approach, its fine for an image or two, but anything
more may generate a lot of requests and cause performance problems in larger
pages.
----- Original Message -----
From: "Thiago H. de Paula Figueiredo" <thiag...@gmail.com>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Wednesday, 21 July, 2010 01:22:31 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: directly return an image from Tapestry
On Tue, 20 Jul 2010 19:15:33 -0300, Chuck Kring <cjkr...@pacbell.net>
wrote:
Hi everybody,
Hi!
I don't want to handle this as an event on the watched page because I'm
not sure how Tapestry will handle the event if the server has restarted.
It will, no doubt about that.
So, it is possible for a Tapestry page to return a streamresponse?
Just return it in the page's onActivate() method.