DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6083>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6083 need Driver(InputSource, Writer) constructor for JSP Summary: need Driver(InputSource, Writer) constructor for JSP Product: Fop Version: all Platform: PC OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: pdf renderer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It would be Really Nice to have a constructor for Driver that takes a Writer instead of an OutputStream. Although Java servlets use ServletOutputStreams for output, they have been layered into JspWriters by the time the JSP writer gets a shot, and the servlet API has been oh-so-carefully designed to notice/complain that request.getOutputStream() has already been called by the JSP framework. My current workaround is horrid - using a ByteArrayOutputStream and invoking pageContent.getOut().write() with it. Ugh, especially given that .pdf's are typically quite large. Perhaps upgrading Fop to the Xalan2 StreamSource and StreamResult mechanisms, which work with Streams and Readers/Writers, would make things happier for all concerned. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]