JSP expressions should be enclosed within
-
<% %>
-
<%= %>
-
<%! %>
-
<!-- -->
B
Correct answer
Explanation
JSP (JavaServer Pages) uses specific syntax for different types of code: <%= %> for expressions (evaluated and output), <% %> for scriptlets (Java code), and <%! %> for declarations. Expressions enclosed in <%= %> are evaluated at runtime and their result is sent to the output stream.