Technology Software

How to Pass Parameters to an Applet

    • 1). Create an HTML file for a desired task and add the PARAM code, with the required values, to the HTML file. Use this syntax code to pass the parameters to the applet: <PARAM NAME=param_name VALUE=param_value>. In the syntax code provided, the param_name and param_value are the parameters passed to the applet. The PARAM code portion is placed between the <APPLET> and </APPLET> tag of an HTML file. Parameter names are case sensitive when passing parameters to applets.

    • 2). Create an applet and add the required code"to the applet to retrieve the desired parameter values. Use the syntax code below to retrieve parameter values. String getParameter (String name). This syntax code is referred to as the getParameter method. This particular function is usually called in the applet's init method. Parameter values are converted to strings when passed to applets.

    • 3). Test the HTML file and the applet you created to make sure that the code is working correctly and produces the desired results.

Related posts "Technology : Software"

Best Tips For Perfect Presentation

Software

Enterprise Security - Are You Ready For 2012?

Software

Magento Shopping Cart Extension Makes Shopping Manageable

Software

How to Convert VB6 to VB 2010

Software

How to Set Up Shortcut Keys in Microsoft Word

Software

Outsource CAD services – A Modern Way to Save Time and Money

Software

Best Places to Find Iron in "World of Warcraft"

Software

How to Print a PDF Drawing in SolidWorks With No Dashed Lines

Software

Open Source Web Development Cms PlatformA Wide Choice For Various Businesses

Software

Leave a Comment