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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.