context = getPageContext(); // context.setFlushOutput(false); response = context.getResponse().getResponse(); out = response.getOutputStream(); response.setContentType(cfhttp.mimetype); response.setContentLength(arrayLen(cfhttp.filecontent)); out.write(cfhttp.filecontent); // out.flush(); // out.close();