Exception: ${catchException}
Exception occurred: ${catchException.message}
Jstl Core Catch Tag
# Tag
[JSP Standard Tag Library](#)
The tag is primarily used to handle exceptional situations that produce errors and to store the error message.
### Syntax Format
<c:catch var=""> ...
### Attributes
The tag has the following attributes:
| Attribute | Description | Required | Default Value |
| --- | --- | --- | --- |
| var | Variable to store the error message | No | None |
* * *
## Example
c:catch Tag Example
YouTip