YouTip LogoYouTip

Jstl Format Message Tag

# Tag [![Image 3: JSP Standard Tag Library](#)JSP Standard Tag Library](#) The `` tag maps a key to a local message and then performs parameter substitution. ### Syntax Format <fmt:message key="" bundle="" var="" scope=""/> ### Attributes The `` tag has the following attributes: | **Attribute** | **Description** | **Required** | **Default Value** | | --- | --- | --- | --- | | key | The message key to retrieve | No | Body | | bundle | The resource bundle to use | No | Default resource bundle | | var | The variable name to store the local message | No | Print to page | | scope | The scope of the var attribute | No | Page | * * * ## Example JSTL fmt:message Tag


The output is as follows: One Two Three * * JSP Standard Tag Library](#)
← Jstl Format Requestencoding TaJstl Format Settimezone Tag β†’