User Guide

Chapter 3: Configuring ColdFusion Server 61
To register a Java applet:
1. Install the Java class files and any other files required for the class. You’ll need to
specify the codebase argument when registering the applet, so take note of the
installed path.
2. In the ColdFusion Administrator, open the Register New Applet page by clicking
the Applets button.
3. Enter the necessary information. Each field corresponds to values you would
enter in the HTML APPLET tag.
4. Enter the parameter name and value pairs required for your applet. If necessary,
you may need to refer to whatever documentation exists for your applet.
5. When you’re done, click Create.
Applet registration fields are explained in the following table.
Java Applet Registration Fields
Field Description
Codebase Enter the base URL of the applet: the directory that
contains the applet components. The applet class files
must be located within the Web browser root
directory. Example:
http://
servername
/classes
Code This is the name of the file that contains the applet
subclass. The filename is relative to the codebase URL.
The *.class file extension is not required.
Method Enter the method name in the applet that returns a
string value. You use this method name in the NAME
attribute of the CFAPPLET tag to populate a form
variable with the method’s value. If the applet has no
method, leave this field blank.
Height Enter a measurement in pixels for the vertical space
for the applet.
Width Enter a measurement in pixels for the horizontal
space for the applet.
Vspace Enter a measurement in pixels for the space above
and below the applet.
Hspace Enter a measurement in pixels for the space on each
side of the applet.
Align Choose the alignment you want.