Home » JSTL Core c:catch Tag

JSTL Core c:catch Tag

by Online Tutorials Library

JSTL Core <c:catch> Tag

It is used for Catches any Throwable exceptions that occurs in the body and optionally exposes it. In general it is used for error handling and to deal more easily with the problem occur in program.

The < c:catch > tag catches any exceptions that occurs in a program body.

Let’s see the simple example of c:catch tag:

Output:

JSTL Core Tags5

You may also like