jsp:param

The jsp:param action adds parameters as name/value pairs to an HTTP request when you forward the request from one JSP page to another. You can use this action only with the jsp:include, jsp:forward, and jsp:plugin actions.

When using jsp:param with jsp:include or jsp:forward, the destination page receives the original HTTP request with the original request parameters and any new parameters specified by jsp:param. If jsp:param adds a parameter that already exists in the request, the new parameter value is prepended to the existing one.

For example, if the request contains the parameter myParm=a, and you use jsp:param to add myParm=b, the forwarded request contains myParm=b, a. Note that the new param appears first in the list.

The scope of the new parameters is the destination JSP page of the jsp:include or jsp:forward. That is, the new parameters and values are removed from the request after the return to the original JSP page from the included page.