What you have to do is wrap your content with

<cfsavecontent variable="foo">

    HTML content here

</cfsavecontent>

then write the html doc using cffile

ie:<cffile action="WRITE" file="#YOUR PATH#\#html_doc#.html" output="#foo#"
addnewline="No">



----- Original Message -----
From: "Dick Applebaum" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 10:47 PM
Subject: Using CFMX to generate Static HTML pages


> What is the easiest way to use CFMX to generate static HTML pages from
> dynamic content.  I want to store the pages as .html pages in the web
> server root, rather than in the CFMX server root.  The static site will
> be accessed with no load on the CFMX server.
>
> TIA
>
> Dick
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to