This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I'm using the following snippet to read a file contents (data.txt) and stream out through ServletOutputStream.
However, when the file is encrypted, I would like to decrypt it, and then stream it out via ServletOutputStream. I call an encryption program that decrypts the file (dataenc.txt) and returns the data as a byte array. How do I use this byte array with ServletOutputStream ?
I tried using the below code, but nothing is returned.
Can anybody tell me what's wrong in the code ? thanks. Sara [ August 09, 2006: Message edited by: Sara James ]