jsp:params Tag

The jsp:params tag is part of the jsp:plugin tag and can only occur as a direct child of a <jsp:plugin> tag. Using the jsp:params tag in any other
context results in a translation-time error.

For more information, see the JavaServer Pages (JSP) v1.2 Syntax Reference on the Sun Microsystems® web site.

Syntax

<jsp:params>
     [ <jsp:param name="parameterName"
          value="{parameterValue | <%= expression %>}" /> ]
</jsp:params>

Attributes

<jsp:param name="parameterName"
                    value="{parameterValue | <%= expression %>}" />+

The <jsp:param> clause allows you to pass one or more name/value pairs as parameters to an included resource. The included resource should be dynamic; that is, a JSP page, servlet, or other resource that can process the parameter. You can use more than one <jsp:param> clause if you want to send more than one parameter to the included resource. The name attribute specifies the parameter name and takes a case-sensitive literal string. The value attribute specifies the parameter value and takes either a case-sensitive literal string or an expression that is evaluated at request time.

Examples

<jsp:plugin type=applet code=”Molecule.class” codebase=”/html” >
  <jsp:params>
    <jsp:param name=”molecule” value=”molecules/benzene.mol”/>
  </jsp:params>
  <jsp:fallback>
    <p> Unable to start plugin </p>
  </jsp:fallback>
</jsp:plugin>

Related Topics

jsp:fallback Tag

jsp:forward Tag

jsp:getProperty Tag

jsp:include Tag

jsp:param Tag

jsp:plugin Tag

jsp:setProperty Tag

jsp:useBean Tag

JSP Tag Reference for Page Flows