In this article we will learn about passing parameters to applets using the param tag and retrieving the values of parameters using getParameter method. Parameters specify extra information that can be passed to an applet from the HTML page. Parameters are specified using the HTML’s param tag. Param Tag The <param> tag is a sub tag of the <applet> tag. The <param> tag contains two attributes: name and value which are used to specify the name of the parameter and the value of the parameter respectively. For example, the param tags for passing name and age parameters looks as shown below:
The post How to pass parameter into java applet appeared first on Coding Security.
How to pass parameter into java applet
read more
Tidak ada komentar:
Posting Komentar