Java Applet Parameters
in place November 3, 2000, last modified November 3, 2000
Applet Parameter Specification in HTML file
- <PARAM> tag in <APPLET></APPLET>
- <PARAM NAME=[parameter_name] VALUE=[parameter_value]>
- Parameter values are all string. They should be converted in Applet if you want to interface other type of parameters except string.
- example:
<PARAM NAME=series_A VALUE="12 24 15 76 54 1000">Get the Parameters in Applet
- use getParameter() method
- public String getParameter(String name)
- example:
String windowWidthString = getParameter("WINDOWWIDTH");Remarks
- see the Java Tutorial "Writing Applets" trail for more information.
Knowledge & Engineering Databases (c) copyright Namchul Do, 2000