You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Mueller, Franz" <fr...@sapmarkets.com> on 2001/04/02 18:40:22 UTC

Question regarding the autoFlush-Attrbute

Sorry for posting it to this list, but usually the response is overhelming.


It seems, it is an inconsistence in the Tomcat 3.2.2 (b2) environment:

If the page-directive autoflush is set to "true"
 
    <%@ page autoFlash="true" %>

and when the JSP uses a body-aware Tag

      class MyTag extends BodyTagSupport {...}

the JSP-environment will generate a BodyContent ( which extends  JspWriter)
     
      out = pageContext.pushBody();



This object does not inheritate the page-directive autoFlush. 

Is this conform to the JSP-specification or is this a bug ?

Is there any way to programmatically set this attribute for all the
sub-writers 
(for a specific writer ) ?


Thanks in advance, 
fm