Home » JSTL Core c:out Tag

JSTL Core c:out Tag

by Online Tutorials Library

JSTL Core <c:out> Tag

The <c:out> tag is similar to JSP expression tag, but it can only be used with expression. It will display the result of an expression, similar to the way < %=…% > work.

The < c:out > tag automatically escape the XML tags. Hence they aren’t evaluated as actual tags.

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

Output:

JSTL Core Tags1

You may also like