You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Liang Fang <li...@indiana.edu> on 2002/09/23 18:48:01 UTC

Return binary files in/outside the page in an Action

Hi,

I would like to program an Action class to download some binary files.
However, it is obvious that the returned binary stream should pop up
another new window, instead of getting into the same page. Is there any
way to do so in an action class? 

Furthermore, if I want the returned binary file to be embedded in the
page, say an image, how to do that? The AbstractPortlet API setContent
methods only allow String or ECS ConcretElement objects, which are for
text display.


Thanks!

Liang


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>