[ https://issues.apache.org/jira/browse/CLK-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jamie Szafran closed CLK-566.
-----------------------------
Resolution: Invalid
> ClickServlet using HttpServletResponse's getWriter()
> ----------------------------------------------------
>
> Key: CLK-566
> URL: https://issues.apache.org/jira/browse/CLK-566
> Project: Click
> Issue Type: Improvement
> Components: core
> Reporter: Jamie Szafran
> Priority: Minor
>
> Hello,
> I'm a relatively new Click user, so my apologies if I managed to miss something in searching
for an answer to this one.
> I'm using Click 2.0.1 and am using iText 2.1.6 for PDF rendering. The issue is that
in ClickServlet's renderTemplate(Page page) method, HttpServletResponse's getWriter() method
is called [on the page's response object]. Because of this, getOutputStream() cannot be called
on the same object, which is required for the iText rendering. Is it possible for ClickServlet
to use getOutputStream() and then create a PrintWriter around that instead of retrieving the
PrintWriter? That way, one can at least access the OutputStream. Or maybe, after looking
at https://issues.apache.org/jira/browse/CLK-146, there could be some way to make a choice
as to which is used?
> Thanks,
> -Jamie
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|