pf » Resetting your page output
March 16, 2005
Resetting your page output

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.
Trackback Address: 273/81E05C840FD43589A70B2A650C28C0FF
Comments
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!
- Mastering CFQUERYPARAM
- Google Code Search for ColdFusion
- Speaking at CFUNITED 2008
- Getting ColdFusion SQL Statements from SQL Server Trace
- CFSCRIPT Cheatsheet
- 3 New Image Effects for ColdFusion 8
- Googlebot to Submit Web Forms
- ColdFusion 8 Update 1 Fixes some Image Processing Quirks
Subscribe to my RSS Feed:
RSS
RSS
add to del.icio.us
Pete Freitag is a software engineer, and web developer located in










