Home » JSTL x:out Tag

JSTL XML <x:out> Tag

The <x:out> tag is used for displaying the result of an xml Path expression and writes the result to JSP writer object. It is similar to the scriptlet tag <%= %> used in JSP.

The syntax used for including the <x:out> tag is:

Let’s see the simple example to understand the xml <x:out> tag:

Output:

Vegetable Information:

Name of the vegetable is: onion Price of the Potato is: 30/kg

JSTL XML Tags1

You may also like