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.
Trackbacks
Trackback Address: 273/81E05C840FD43589A70B2A650C28C0FF
Comments
On 03/16/2005 at 3:19:31 PM EST Paul Kenney wrote:
1
Did you know you could also do:
<cfcontent reset="true"/>
On 03/16/2005 at 3:51:10 PM EST Pete Freitag wrote:
2
Even easier, thanks Paul!
Post a Comment
Recent Entries
- Cache Template in Request Setting Explained
- What Version of Java is ColdFusion Using?
- ColdFusion 9 Performance Brief from Adobe
- Request Filtering in IIS 7 Howto
- J2EE Session Cookies on ColdFusion / JRun
- Hands on ColdFusion Security Training
- ColdFusion 9 Solr Vulnerability - Are you at Risk?
- FCKEditor Year 2010 Bug for Firefox 3.6 with ColdFusion
<cfcontent reset="true"/>



add to del.icio.us



