[
https://issues.apache.org/jira/browse/PLUTO-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16249130#comment-16249130
]
ff.ge commented on PLUTO-570:
-----------------------------
i implement getOutputsream() in PortalServletResponse ,but the problem is
still existed ,which version fixed the problem?
> [Weblogic 10.3] PortalServletResponse doesn't implement getOutputsream()
> ------------------------------------------------------------------------
>
> Key: PLUTO-570
> URL: https://issues.apache.org/jira/browse/PLUTO-570
> Project: Pluto
> Issue Type: Bug
> Affects Versions: 2.0.0
> Environment: Weblogic 10.3
> Reporter: Khaled Tlili
> Attachments: pluto_weblogic.jpg
>
>
> PortalServletResponse doesn't implement getOutputsream(). As weblogic call
> getOutpustream() and not getWriter() when a the portlet dispatch to a JSP
> then the output is broken. In addition to that the output of the portlet
> can't be catched:
> Example:
> ....
> try {
> container.doRender(window, portalRequest, portalResponse);
> } catch (Exception th) {
> logger.error("Error while rendering portlet", th);
> }
> final String portletRendering =
> portalResponse.getInternalBuffer().getBuffer().toString();
> ....
> with weblogic portletRendering is empty
> So, PortletSerletResponse should be:
> public class PortalServletResponse ...
> ...
> @Override
> public ServletOutputStream getOutputStream() throws IOException {
> return new PrintWriterServletOutputStream(getWriter(), "UTF-8");
> }
> ....
> }
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)