Creates a ColdFusion object, of a specified type.
Note: You can enable and disable this tag in the ColdFusion Administrator page, under ColdFusion Security, Sandbox Security.
The tag syntax depends on the object type. Some types use the type
attribute; others do not. See the following sections:
Note: On UNIX, this tag does not support COM objects.
cfargument, cfcomponent, cffunction, cfinvoke, cfinvokeargument, cfproperty, cfreturn; Using Java objects in Integrating J2EE and Java Elements in CFML Applications in ColdFusion MX Developer's Guide
ColdFusion MX:
CreateObject
function, can now instantiate ColdFusion components (CFCs); you can use them within the cfscript
tag.
context=NameService
", for a class, use either of the following formats for the class
parameter:
Macromedia/Eng/CF
" Macromedia.current/Eng.current/CF
" (In earlier releases, the format was "Macromedia.Eng.CF
".)
locale
attribute; it specifies the Java configuration that contains the properties file.