pf » Resetting your page output

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?

Trackback Address: 273/81E05C840FD43589A70B2A650C28C0FF
On 03/16/2005 at 3:19:31 PM MST Paul Kenney wrote:
1
Did you know you could also do:

<cfcontent reset="true"/>

On 03/16/2005 at 3:51:10 PM MST Pete Freitag wrote:
2
Even easier, thanks Paul!




  



Spell Checker by Foundeo





Subscribe to my RSS Feed: solosub RSS
Tags