You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Mike Williams <mi...@starband.net> on 2001/04/15 00:40:48 UTC

[PATCH] - Added call to getOut().flush() in GetTag.doStartTag().

Just found a minor problem with the GetTag template class.  It worked
fine on my local box running the latest code from cvs under tomcat
3.2.1.  However, when I deployed my site to my web hosting company's
site I found the following problem.

The results of the <template:get name="myname"> were being rendered
before the template body which resulted in some pretty weird pages [:)]
This only happened if the direct attribute was set to false.  By adding
the call to pageContext.getOut().flush() the problem was solved.

The patch file is available here
http://www.mikesbox.com/struts/patchfile.txt

Thanks!
Mike

-- 


----------------------------
Mike Williams
mikewill@starband.net
http://www.mikesbox.com
----------------------------
May the Source be with you!
----------------------------