On Thu, 10 Mar 2011 16:37:29 -0300, Rich M <rich...@moremagic.com> wrote:

Hi,

Hi!

I had read this thread http://tapestry.1045711.n5.nabble.com/How-to-display-Blob-byte-array-image-td2436148.html along with other information regarding uploading/displaying images. I think I'm a bit confused as to what my ImageStreamResponse is or should be achieving. I had thought using that I might be able to display the image itself in the TML, but it seems I'd need the URL instead. If I had the URL in any case then what purpose does the ImageStreamResponse serve?

None. When you have the image in some public URL, inside or outside your application, you don't need a StreamResponse for it. Just use its URL. StreamResponse is used when you have the content generated on the fly, available as an InputStream or in memory.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to