|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (PLUTO-570) PortalServletResponse doesn't implement getOutputsream()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 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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Updated: (PLUTO-570) PortalServletResponse doesn't implement getOutputsream()[ https://issues.apache.org/jira/browse/PLUTO-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Khaled Tlili updated PLUTO-570: ------------------------------- Attachment: pluto_2.0_weblogic.jpg > 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_2.0_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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Updated: (PLUTO-570) PortalServletResponse doesn't implement getOutputsream()[ https://issues.apache.org/jira/browse/PLUTO-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Khaled Tlili updated PLUTO-570: ------------------------------- Attachment: pluto_weblogic.jpg Th output of the html should be in the portlet box > 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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Updated: (PLUTO-570) PortalServletResponse doesn't implement getOutputsream()[ https://issues.apache.org/jira/browse/PLUTO-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Khaled Tlili updated PLUTO-570: ------------------------------- Attachment: (was: pluto_2.0_weblogic.jpg) > 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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Updated: (PLUTO-570) PortalServletResponse doesn't implement getOutputsream()[ https://issues.apache.org/jira/browse/PLUTO-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Khaled Tlili updated PLUTO-570: ------------------------------- Fix Version/s: 2.0.1 > 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 > Fix For: 2.0.1 > > 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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free embeddable forum powered by Nabble | Forum Help |