Resetting your page output

March 16, 2005
coldfusionjava

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.


4 people found this page useful, what do you think?

Comments

Did you know you could also do: <cfcontent reset="true"/>
Even easier, thanks Paul!

Post a Comment




  



Spell Checker by Foundeo

Recent Entries



foundeo


did you hack my cf?