JSP Tutorial


            

Expression tag ( <%=   %>)

 

This tag allows the developer to embed any Java expression and is short for out.println().

 

A semicolon ( ; ) does not appear at the end of the code inside the tag.

 

For example, to show the current date and time.

 

 

Date : <%= new java.util.Date() %>