Never mind. I figured it out. :-)

Joe


-----Original Message-----
From: Joe Gonzalez [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 4:30 PM
To: [EMAIL PROTECTED]
Subject: Binary output from a JSP


After searching the various FAQ's and a a couple of hour's worth of
experimentation, it seems that
there isn't a way to send binary data (e.g. jpegs, gifs, etc.) out of a JSP.
I keep tripping on
a "java.lang.IllegalStateException: getOutputStream() has already been
called for this response".
I hope I am wrong on this point and someone can point out a correct method.
Is there a way to tell
the JspFactory not to setup the JspWriter (under tomcat 4b7) ?

Thanks for any info.

Joe Gonzalez

===========================================================================
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

===========================================================================
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

Reply via email to