JSP – Expression Tags

JSP Expression Tag

  • Expression tag evaluates the scripting language expression, converts the result into a string.
  • This result is send back to the web user through response object.
  • It writes the result into output stream of the response object.


<%=  expression %> 


                        <title>Expression tag example</title>
                        Sum of 10 and 20 = <%= 10+20 %>

Scroll to Top