Resetting your page output
March 16, 2005

I just figured out a simple way of resetting the output stream in a coldfusion template using the JspWriter obtained from the PageContext:
You won't see any content above the line below. <cfset GetPageContext().getOut().clearBuffer()> But you will see this content down here.
Tweet
Trackbacks
Trackback Address: 273/81E05C840FD43589A70B2A650C28C0FF
Comments
On 03/16/2005 at 5:19:31 PM EST Paul Kenney wrote:
1
Did you know you could also do:
<cfcontent reset="true"/>
On 03/16/2005 at 5:51:10 PM EST Pete Freitag wrote:
2
Even easier, thanks Paul!
Post a Comment
Recent Entries
- Writing Secure CFML cfObjective 2013 Slides
- Upgrading to Java 7 on Linux
- J2EE Sessions in CF10 Uses Secure Cookies
- Learn about ColdFusion Security at cfObjective 2013
- Session Loss and Session Fixation in ColdFusion
- FuseGuard 2.3 Released
- CKEditor Spell Checker Plugin
- Adobe Says Go Ahead and Upgrade your ColdFusion JVM


add to del.icio.us



