JSP Param Action

JSP Param Action Element

  • All the JSP action elements are used during the request processing phase, and not as the directive elements and script elements, which are used during the translation phase
  • All JSP action elements are specified in XML tags and can not be used in an XML directive as these have no end tag.
  • The JSP param can appear in the body of the JSP include action, JSP plugin action, JSP forward action and JSP params action.
  • The JSP param action element is used to provide key/value information.
  • Here is the notation for the JSP param action element:
    XML Description
    <jsp:param attributes > content </jsp:param> The content is one or more JSP param actions.
  • The following table lists the attribute(s) for the JSP param action element:
    Attribute Valid values Description
    name String value The key name.
    value String value The value for the key.

Example of using JSP param action element.

In these examples we use Netbeans IDE and Glassfish Server.

  1. Within Plugin Action:

    You can download this example here (needed tools can be found in the right menu on this page).

    If you want to go through this example, you'll find one under JSP Plugin action

  2. Within Forward Action:

    You can download this example here (needed tools can be found in the right menu on this page).

    If you want to go through this example, you'll find one under JSP Forward action.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.