Java in a Nutshell

Previous Chapter 15
Java-Related HTML Tags
Next
 

15.2 The <PARAM> Tag

The <PARAM> tag, with its NAME and VALUE attributes, specifies a named parameter and its corresponding string value that are passed to the applet. These applet parameters function like system properties or command-line arguments do for a regular application. Any number of <PARAM> tags may appear between <APPLET> and </APPLET>.

An applet can look up the value of a parameter specified in a <PARAM> tag with the Applet.getParameter() method, which is something like the System.getProperty() method for Java applications.


Previous Home Next
The <APPLET> Tag Book Index An Example HTML File

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java