YouTip LogoYouTip

Jstl Core Param Tag

# Tag [![Image 4: JSP Standard Tag Library](#)JSP Standard Tag Library](#) The `` tag is used to specify parameters within the `` tag and is related to URL encoding. Inside the `` tag, the `name` attribute indicates the name of the parameter, and the `value` attribute indicates the value of the parameter. ### Syntax Format ```jsp <c:param name="" value=""/> ### Attributes The `` tag has the following attributes: | **Attribute** | **Description** | **Required** | **Default Value** | | --- | --- | --- | --- | | name | The name of the parameter to set in the URL | Yes | None | | value | The value of the parameter | No | Body | * * * ## Program Example If you want to pass parameters to the `` tag, you need to first use the `` tag to create the URL: ## Example ```jsp c:forTokens Tag Example

<c:param> Example

<a href="/"> Use <c:param> to send two parameters to the specified URL. Access the above page through a browser, then view the source code, which will display as follows: !(#) * * JSP Standard Tag Library](#)
← Jstl Core Redirect TagJstl Core Foreach Tag β†’