Macromedia ColdFusion MX is built on a J2EE-compliant Java technology platform. This lets ColdFusion applications take advantage of, and integrate with, J2EE elements. ColdFusion pages can do any of the following:
This section describes the following topics:
ColdFusion pages, like HTML pages, can incorporate client-side JavaScript and Java applets. To use JavaScript, you write the JavaScript code just as you do on any HTML page. ColdFusion ignores the JavaScript and sends it to the client.
The cfapplet
tag simplifies using Java client-side applets.
cfapplet
tag to call the applet. The appletSource
attribute must be the Applet name assigned in ColdFusion MX Administrator.
For example, ColdFusion includes a Copytext sample applet that copies text from one text box to another. The ColdFusion Setup automatically registers the applet in the Administrator. To use this applet, incorporate it on your page. For example:
<cfform action = "copytext.cfm"> <cfapplet appletsource = "copytext" name = "copytext"> </cfform>