struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgenij Chudinov (JIRA)" <>
Subject [jira] Created: (WW-2839) Body content are still flushing using struts2 tags
Date Thu, 16 Oct 2008 04:34:37 GMT
Body content are still flushing using struts2 tags

                 Key: WW-2839
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Tags
    Affects Versions: 2.1.2, 2.1.1, 2.1.0,
         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
A special wrapping mechanism for writer (existing in FreemarkerTemplateEngine class) don't
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.

View raw message