You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Evgenij Chudinov (JIRA)" <ji...@apache.org> on 2008/10/16 06:34:37 UTC

[jira] Created: (WW-2839) Body content are still flushing using struts2 tags

Body content are still flushing using struts2 tags
--------------------------------------------------

                 Key: WW-2839
                 URL: https://issues.apache.org/struts/browse/WW-2839
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Tags
    Affects Versions: 2.1.2, 2.1.1, 2.1.0, 2.0.11.2
         Environment: JDK 1.5.0_10 / Tomcat 5.5.26
            Reporter: Evgenij Chudinov


On JSP pages with struts2 tags there are many chunks in servlet stream because of unnecessary flushing.
A special wrapping mechanism for writer (existing in FreemarkerTemplateEngine class) don't worked. 
BodyContent class extends JspWriter class and writer realization org.apache.jasper.runtime.JspWriterImpl returning from template context extends JspWriter too. Therefore, calling of method isAssignableFrom always returns false.
May be rewrite code as:
   bodyContent.getSuperclass().isAssignableFrom(writer.getClass()) ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WW-2839) Body content are still flushing using struts2 tags

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2839.
---------------------------------

    Resolution: Duplicate

Flush will never happen now, this was resolved as part of WW-2246, r718652

> Body content are still flushing using struts2 tags
> --------------------------------------------------
>
>                 Key: WW-2839
>                 URL: https://issues.apache.org/struts/browse/WW-2839
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.0.11.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3
>         Environment: JDK 1.5.0_10 / Tomcat 5.5.26
>            Reporter: Evgenij Chudinov
>             Fix For: 2.1.3
>
>
> On JSP pages with struts2 tags there are many chunks in servlet stream because of unnecessary flushing.
> A special wrapping mechanism for writer (existing in FreemarkerTemplateEngine class) don't worked. 
> BodyContent class extends JspWriter class and writer realization org.apache.jasper.runtime.JspWriterImpl returning from template context extends JspWriter too. Therefore, calling of method isAssignableFrom always returns false.
> May be rewrite code as:
>    bodyContent.getSuperclass().isAssignableFrom(writer.getClass()) ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-2839) Body content are still flushing using struts2 tags

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2839:
-----------------------------

    Fix Version/s: 2.1.3

> Body content are still flushing using struts2 tags
> --------------------------------------------------
>
>                 Key: WW-2839
>                 URL: https://issues.apache.org/struts/browse/WW-2839
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.0.11.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3
>         Environment: JDK 1.5.0_10 / Tomcat 5.5.26
>            Reporter: Evgenij Chudinov
>             Fix For: 2.1.3
>
>
> On JSP pages with struts2 tags there are many chunks in servlet stream because of unnecessary flushing.
> A special wrapping mechanism for writer (existing in FreemarkerTemplateEngine class) don't worked. 
> BodyContent class extends JspWriter class and writer realization org.apache.jasper.runtime.JspWriterImpl returning from template context extends JspWriter too. Therefore, calling of method isAssignableFrom always returns false.
> May be rewrite code as:
>    bodyContent.getSuperclass().isAssignableFrom(writer.getClass()) ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-2839) Body content are still flushing using struts2 tags

Posted by "Evgenij Chudinov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evgenij Chudinov updated WW-2839:
---------------------------------

    Affects Version/s: 2.1.3

> Body content are still flushing using struts2 tags
> --------------------------------------------------
>
>                 Key: WW-2839
>                 URL: https://issues.apache.org/struts/browse/WW-2839
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.0.11.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3
>         Environment: JDK 1.5.0_10 / Tomcat 5.5.26
>            Reporter: Evgenij Chudinov
>
> On JSP pages with struts2 tags there are many chunks in servlet stream because of unnecessary flushing.
> A special wrapping mechanism for writer (existing in FreemarkerTemplateEngine class) don't worked. 
> BodyContent class extends JspWriter class and writer realization org.apache.jasper.runtime.JspWriterImpl returning from template context extends JspWriter too. Therefore, calling of method isAssignableFrom always returns false.
> May be rewrite code as:
>    bodyContent.getSuperclass().isAssignableFrom(writer.getClass()) ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.