Jstl Core Out Tag
π
2026-06-18 | π JSTL
# Tag
[JSP Standard Tag Library](#)
The `` tag is used to display the result of an expression, similar to the function of ``. The difference is that the `` tag can access properties directly using the "." operator.
For example, if you want to access `customer.address.street`, you can simply write: ``.
The `` tag automatically ignores XML markup characters, so they will not be treated as tags.
* * *
### Syntax Format
<c:out value="" default="" escapeXml=""/>
### Attributes
The `` tag has the following attributes:
| **Attribute** | **Description** | **Required** | **Default Value** |
| --- | --- | --- | --- |
| value | The content to output | Yes | None |
| default | The default value to output | No | Content in the body |
| escapeXml | Whether to ignore XML special characters | No | true |
* * *
## Program Example
c:out Tag Example <c:out> Example
If the expression result is null, this default value is output
The output is as follows:
Example <Data object to display (without escape characters)> If the expression result is null, this default value is output
* * JSP Standard Tag Library](#)