Installation guide

does not affect query resultsets or XML documents that are contained within another
variable or structure being dumped.
4.4.4 CFFLUSH
BlueDragon 6.1 offers an option in the administration console to control whether the gen-
eration of HTML output on a page is buffered to page completion or not, and it now
defaults to buffering the entire page, like ColdFusion. See the BlueDragon User Guide
for more information on the topic of page buffering.
If you choose to change the server-wide behavior to buffer less than the entire page, there
may be a negative impact on your application in the use of some tags in some situations.
To change the behavior on a page-by-page basis to revert to buffering the entire page,
BlueDragon offers a new
PAGE attribute for the INTERVAL attribute of CFFLUSH, as in:
<CFFLUSH Interval=”page”>
BlueDragon also supports use of the CFFLUSH INTERVAL="n" attribute, which enables
page-level control of the flushing of the buffer after a given amount of generated content.
This would be used when the default server-wide setting is set to buffer the entire page
but you want to enable buffering on the current page. Note that the maximum value
BlueDragon allows for "n" is 128K (128*1024): if you set a larger size then BlueDragon
buffers the entire page.
BlueDragon also supports the simple use of
CFFLUSH to flush all of the page content gen-
erated to that point.
4.4.5 CFINCLUDE
BlueDragon allows you to include the output of Java servlets or JavaServer Pages (JSP)
in your CFML pages via the new
page attribute to the CFINCLUDE tag. The page attribute
specifies the URI for the page to include. Paths that start with “/” start at the document
root directory of the web application or web server; paths that don’t start with “/” are
relative to the current CFML document
<CFINCLUDE PAGE=”/menu.jsp”>
<CFINCLUDE PAGE=”footer.jsp”>
CFINCLUDE
can also refer to the WEB-INF directory in a web app, for example:
<cfinclude template="/WEB-INF/includes/header.cfm">
<cfmodule template="/WEB-INF/modules/navbar.cfm">
The advantage of using WEB-INF is that files within it are never served directly by the
J2EE server, so a user cannot enter a URL to access them directly.
BlueDragon also supports the concept of mappings defined in the administration console.
See the BlueDragon 6.1 User Guide Section “Migration from ColdFusion” for more
information on creating administration console mappings.
BlueDragon 6.1 CFML Compatibility and Reference Guide 17