JSP Expression Tag – JSP Tutorial

Expression tag evaluates the expression placed in it, converts the result into String and send the result back to the client through response object. Basically it writes the result to the client(browser).

Syntax of expression tag in JSP:

<%= expression %>

JSP expression tag Examples

Example 1: Expression of values

Here we are simply passing the expression of values inside expression tag.