Hi,
I am using JRun with the snippet below to download binary information from the
database.
response.setContentType("application/x-msdownload");
ServletOutputStream stream = response.getOutputStream();
stream.write(buffer);
However, I kept getting an enigmatic exception:
java.lang.IllegalStateException
at allaire.jrun.servlet.JRunResponse.getOutputStream(JRunResponse.java:294)
Does someone have an idea what is going on? Any suggestions? Any alternatives?
Thanks.
Jack
==========================================================================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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com