JSPWriter to stream
843836Jul 31 2003 — edited Jan 15 2009Hi!
I have a page that displays a picture. (image/pjpeg)
The problem is that I have the picturedata as a byte[] and the standard out (a JSPWriter) doesn't support byte[].
I tried to get the java.io.OutputStream calling response.getOutputStream() but that call throws an execption about it already have been called once.
So, my question, how do I write my byte[] in a jsp-page without have to catch a lot of errors.
Thanks in advance
Roland Carlsson