[Logo] Mentawai Recipes
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Moderation Log] Moderation Log   [Register] Register / 
[Login] Login 
Action returning a binary content (image, pdf, etc.)  XML
Forum Index » Official Recipes
Author Message
saoj



Joined: 10/01/2008 08:20:15
Messages: 39
Offline

Just use the StreamConsequence.

In the action:

In the ApplicationManager:

You can place a byte array or a InputStream as the stream key in the action output. If for example the file is a PDF, you don't want to load everything in memory in a byte array:

An in the ApplicationManager:




 
Forum Index » Official Recipes
Go to:   
Powered by JForum 2.1.8 © JForum Team