Posted On: Feb 22, 2018
Expressions in the JSP can be used in the expression tag to be evaluated. The expression tag converts the expression into a value of a string object and inserts it into the implicit output object to be displayed in the client browser. The semicolon is also no need to signal the end of the statement in the expression tag.
<%= expression %>
<%= "Expression Statement" %> //no need for output statement as the expression tag converts the string into output object and the “Expression Statement” is displayed.
Never Miss an Articles from us.