<jsp:text>template data
</jsp:text>
<hello><jsp:scriptlet>i=3;</jsp:scriptlet> <hi> <jsp:text> hi you all </jsp:text><jsp:expression>i</jsp:expression> </hi> </hello>
<hello> <hi> hi you all </hi></hello>
A jsp:text
element is used to enclose template data in the XML representation. A jsp:text
element has no attributes and can appear anywhere that template data can. The interpretation of a jsp:text
element is to pass its content through to the current value of out
.
XML syntax allows an XML element that does not represent a standard or custom action to appear anywhere a jsp:text
can appear. Such an element is passed to the current out.