Resetting your page output

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?

 Download FuseGuard WAF for ColdFusion

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




  



Spell Checker by Foundeo

Recent Entries



foundeo


did you hack my cf?