Hi, All
I am trying to output an image to the browser directly using OutputStream. This worked
fine in a servlet with an ServletOutputStream.
However, when I tried to do the same thing in JSP, I cann't find a way to get the
OutputStream. The default (predefined) out is a PrintWriter , which can only handle
ASCII , and out can not be redefined as ServletOutputStream, because the PrintWriter
has already read the "response" , it's a mess.
So, is there a solution?
Thanks
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets