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.
Tweet
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
Recent Entries
- Nginx redirect www to non www domain
- HashDOS and ColdFusion
- HackMyCF Updated for APSB11-29 Security Hotfix
- Adobe eSeminar on FuseGuard
- Determining Which Cumulative Hotfixes are Installed on ColdFusion
- Adding Two Factor Authentication to ColdFusion Administrator
- ColdFusion Developer Week at Adobe.com
- Bug Loading Scripts for CFFileUpload and CFMediaPlayer


add to del.icio.us



