File Streaming using DotNetJasper pdf

Posted by Ziden under ASP.NET on 12/11/2012 | Points: 10 | Views : 1479 | Status : [Member] | Replies : 1
Hello there.

Lets say i have a byte [] representing a PDF. Then, how could i stream this PDF so the browser can open it ?

Im using DotNetJasper and im obligated to creating the PDF file in the server, but i didnt want that, i wanted to create the byte array and stream it directly w/o needing to save the file on the server, saving lots of space and possibly some deletion logics.

Thanks alot for your attention !


Posted by: Ziden on: 12/12/2012 [Member] Starter | Points: 25


just making a completion

i can have a byte [] of the file, a FileWritter, and a Stream, but i cannot open it idk why =(

any one has the knowledge on this ?

thank s alot for the attention !

Ziden, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response