![]() When the codebase attribute is left empty, it defaults to the directory containing the JNLP file. In the JNLP file, leave the codebase attribute empty or specify an absolute URL.These parameters are needed early on in the applet startup process. Specify parameters such as image and boxbgcolor as parameter name-value pairs (not in the JNLP file). ![]() ![]() Specify width and height as attribute name-value pairs (not in the JNLP file).The following guidelines are helpful if some deployment options have different values in the attribute name-value pairs and in the JNLP file: Var attributes = ĭnApplet(attributes, parameters, version) Applets deployed in this manner can be run by the old Java Plug-in software. The attributes and parameters passed as name-value pairs are written out as attributes and nested tags in the generated tag. minimumVersion – The minimum version of the JRE software that is required to run this applet.parameters – The names and values of the tags in the generated tag.attributes – The names and values of the attributes of the generated tag.Specifying attribute and parameter name-value pairs as well as a JNLP file (enables applet to run on the old and next generation Java Plug-in software)įunction signature: runApplet: function(attributes, parameters, minimumVersion).Using the jnlp_href parameter to specify deployment options in a JNLP file.Specifying deployment options as attribute and parameter name-value pairs.The following usage scenarios are described: The next section shows how to use the runApplet function in the HTML page that will display the applet. Applets deployed by using JNLP can run only if the next generation Java Plug-in software exists on the client machine (the next generation Java Plug-in software was introduced in the Java Platform, Standard Edition 6 update 10 release). The parameters to the runApplet function vary depending on whether you are using JNLP. On some platforms, users might be redirected before they can view the web page containing the applet. If the client does not have the required minimum version of the JRE software, the Deployment Toolkit script redirects the browser to to allow users to download the latest JRE software.
0 Comments
Leave a Reply. |