The result is as follows: One Two Three * * JSP Standard Tag Library](#)
Jstl Format Setbundle Tag
# <fmt:setBundle> Tag
[JSP Standard Tag Library](#)
The <fmt:setBundle> tag is used to load a resource bundle and then store it in a named variable or a bundle configuration variable in a scope.
### Syntax
<fmt:setBundle baseName="" var="" scope=""/>
### Attributes
The <fmt:setBundle> tag has the following attributes:
| **Attribute** | **Description** | **Required** | **Default Value** |
| --- | --- | --- | --- |
| basename | The base name of the resource bundle family, exposed to the scope variable or configuration variable | Yes | None |
| var | The variable to store the new resource bundle | No | Replace default |
| scope | The scope of the variable | No | Page |
* * *
## Example
JSTL fmt:setBundle Tag
The result is as follows: One Two Three * * JSP Standard Tag Library](#)
The result is as follows: One Two Three * * JSP Standard Tag Library](#)
YouTip