This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi all, Say all that I could get back from a bean was a BufferedInputStream. This stream contains a PDF file. Now I want to "stream" the contents of the BufferedInputSteam to the browser - hence - opening the PDF file. Sounds strange but is all I have to work with right now. Unfortunately I can NOT just give the URL to the PDF file as I need to hide it from the browser/user. Please help if possible and thanks in advance! Scott
Well, I did it - sort of... I can get the PDF to the browser now but I think the CONTEXT-TYPE is wrong because it looks like text. Here is how I thought you should set CONTEXT-TYPE for the response object, is this correct?
Thanks in advance. [This message has been edited by Scott Russel (edited December 07, 2000).]