|
Answer» We can pass parameters to an applet USING <param> tag in the following way:
► <param name=param1″ value=value1″>
► <param name=param2″ valuevalue2″>
ACCESS those parameters inside the applet is done by calling getParameter() method inside the applet. Note that getParameter() method returns String value corresponding to the PARAMETER name. We can pass parameters to an applet using <param> tag in the following way:
► <param name=param1″ value=value1″>
► <param name=param2″ valuevalue2″>
Access those parameters inside the applet is done by calling getParameter() method inside the applet. Note that getParameter() method returns String value corresponding to the parameter name.
|