PARAM is a computer line in India supervised by the Centre for Development of Advanced Computing. It involves data crunching of the highest degree like weather modeling.
context-param defines values for the entire web application, and init-param defines values for individual components sutch servlets and filters. init-param tag is used to specify initial parameters for specific servlets.context-param is also used to specify initial parameters ,but this can be used by different servlets sharing the same context.servlets outside the context can use it but first of all they need to get access to the specific servletContext.
two arguments can be passed to applet using param tags NAMES and VALUES <PARAM NAME ="name" VALUES = "values"> Parameters are passed to applets in NAME=VALUE pairs in <PARAM> tags between the opening and closing APPLET tags. Inside the applet, you read the values passed through the PARAM tags with the getParameter() method of the java.applet.Appletclass.
Because we usually don't call it from the program, but if we do, you should have a prototype: int main (int argc, char **argv); int foobar (const char *progname) { char *param[2]; ... param[0]= progname; param[1]= "help"; main (2, param); ... } int main (int argc, char **argv) { ... foobar (argv[0]); ... }
import java.awt.*; import java.applet.*; public class barChart extends Applet { String label[]; int values[]; int n = 0; public void init() { try { n = Integer.parseInt(getParameter("cols")); label = new String[n]; values = new int[n]; label[0] = getParameter("label1"); label[1] = getParameter("label2"); label[2] = getParameter("label3"); label[3] = getParameter("label4"); values[0] = Integer.parseInt(getParameter("values1")); values[1] = Integer.parseInt(getParameter("values2")); values[2] = Integer.parseInt(getParameter("values3")); values[3] = Integer.parseInt(getParameter("values4")); } catch (NumberFormatException e) { } } public void paint(Graphics g) { g.setColor(Color.red); for (int i = 0; i < n; i++) { g.drawString(label[i], 100, 100 + i * 50); g.fillRect(150, 80 + i * 50, values[i], 40); } } } <html> <body> <applet code="barChart.class" height="700" width="700"> <param name="cols" value="4" /> <param name="label1" value="1994" /> <param name="label2" value="1995" /> <param name="label3" value="1996" /> <param name="label4" value="1997" /> <param name="values1" value="110" /> <param name="values2" value="100" /> <param name="values3" value="190" /> <param name="values4" value="140" /> </applet> </body> </html>
many: 1. param 2.pace 3.eka(IBM) and many more
Param -10000 param -9000 param -8000
What is param padma
param by IBM
Param Vir was born in 1952.
Fred Param is 6' 2".
Sunita Param is 5' 1".
Jeff Param is 183 cm.
Param was born in 1954, in Negeri Sembilan, Malaysia.
The duration of Param Dharam is 2.08 hours.
Param Sandhu is 5' 8 1/2".
Param Dharam was created on 1987-11-13.
Param Vir Chakra was created on 1950-01-26.