Name

<jsp:body>

Synopsis

The <jsp:body> action defines a body for an action element. It’s required only when the action attributes are defined by <jsp:attribute> elements.

Syntax

<jsp:body>
  Body content
</jsp:body>

Attributes

None.

Example

<jsp:plugin type="applet" code="Clock2.class" 
  codebase="applet" jreversion="1.2">
  <jsp:attribute name="width">160</jsp:attribute>
  <jsp:attribute name="height">150</jsp:attribute>
  <jsp:body>
    <jsp:params>
      <jsp:param name="bgcolor" value="ccddff" />
    </jsp:params>
    <jsp:fallback>
      Plugin tag OBJECT or EMBED not supported by browser.
    </jsp:fallback>
  </jsp:body>
</jsp:plugin>

Get JavaServer Pages, 3rd 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.