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.

Like this? Follow me ↯

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


Even easier, thanks Paul!

Foundeo Inc.