SE452: JSP elements [13/16] ![]() ![]() ![]() |
Expressions
<%= expression %>
out.println(expression)
Current Time: <%= new java.util.Date() %>
Scriptlets
<% code %>
Declarations
<%! code %>
Comments
<!-- this goes -->
<%-- JSP comment --%>
Escaping in JSPs
In scripting elements
In template text
In attributes