Expressions
A JSP expression is very similar to a scriplet, except that the enclosing Java code is required to be an expression.
The expression is evaluated, then converted to a String.
The string is effectively interpolated into the template text—wherever the element appears—and sent to the browser as part of the generated HTML.
The syntax of a expression element is:
<%= Java expression in here %>
- Distinguished from a scriptlet by the = sign attached to <% .