Appendix A. Summary of Tags

Built-in Tags

Note: Parameters marked as “dynamic” may be expression language scripts.

jsp:scriptlet: Embeds Java code directly in the servlet constructed at translation time; equivalently, <% ... %>

Body: Fully formed Java code

jsp:declaration: Embeds Java declarations directly in the top level of the servlet constructed at translation time; equivalently, <%! ... %>

Body: Fully formed Java declarations

jsp:expression: Obtains the value of a Java expression, which may contain method calls, declared variables, or beans loaded with jsp:useBean; equivalently, <%= ... %>. This latter form may be used as the value attribute in a jsp:param or jsp:setProperty and as the page attribute in jsp:forward and jsp:include.

Body: A fully ...

Get JavaServer Pages™, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.