HTMLParameter class

The HTMLParameter class represents the parameters you can use with the HTMLServlet class. Each parameter has its own name and value.

Methods for the HTMLParameter class include:

Example: Creating HTMLParameter tags

The following example creates an HTMLParameter tag:

          // Create an HTMLServletParameter.
     HTMLParameter parm = new HTMLParameter ("age", "21");
     System.out.println(parm);

The previous example produces the following tag:

     <param name="age" value="21">