Sure! But if i write response.setHeader("Content-disposition", "attachment; filename=report.pdf" ); response.setContentType("appliction/pdf"); response.setContentLength(pdf.length); ServletOutputStream ouputStream = response.getOutputStream(); ouputStream.write(pdf, 0, pdf.length); ouputStream.flush(); ouputStream.close(); facesContext.responseComplete();
i break Seam and at the next operation i have an Exception!!! if i don't write facesContext.responseComplete(); the Seam works but i have the bytes in the response as char.... Any solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910093#3910093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910093 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user