ADOBE SYSTEMS INCORPORATED Copyright 2002 Adobe Systems Incorporated All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
ColdFusion includes several example Java CFXs which demonstrate common techniques used in creating CFXs.
The Java source files for the examples can be found in the examples
subdirectory of the main
installation directory. A brief description of each example follows:
Example | Description of tag |
HelloColdFusion |
Prints a personalized greeting. Demonstrates the most minimal implementation required to create a CFX. |
ZipBrowser |
Retrieves the contents of a zip archive. Demonstrates generating a ColdFusion query and returning it to the calling page. |
ServerDateTime |
Retrieves the date and time from a network server. Demonstrates attribute validation, using numeric attributes, and setting variables within the calling page. |
OutputQuery |
Outputs a ColdFusion query in an HTML table. Demonstrates handling a ColdFusion query as input, throwing exceptions, and generating dynamic output. |
HelloWorldGraphic |
Generates a "Hello World!" graphic in JPEG format. Demonstrates how to dynamically create and return graphics from a Java CFX. |