Hello,
I have a question regarding how to write html to an OutputStream from a byte[] array. I have the following code implemented:
However the resulting output is a bunch of bytecode, not html. An example output is:
Can someone please tell me what else I must do for the html to display correctly. I have set the Content type to text/html charset=UTF-8. I must also add that I am basing this code from an example that I have seen. The main goal was to read in from a tmp file the html content and display it to the user.
Thanks in advance.
[ November 26, 2007: Message edited by: Ulf Dittmer ]