JSP Body Action.

JSP Body Action Element

  • All the JSP action elements are used during the request processing phase, and not as the directive elements and script elements, which are used during the translation phase
  • All JSP action elements are specified in XML tags and can not be used in an XML directive as these have no end tag.
  • The JSP body action defines a body for an action element. It's required only when the action attributes are defined by attribute elements.
  • The JSP body action has no attributes.
  • Here is the notation for the JSP body action element:
    XML Description
    <jsp:body > content </jsp:body> The content is any text, JSP action element, HTML tags etc.

Example of using JSP body action element.

In the example we use Netbeans IDE and Glassfish Server.

You can download this example here (needed tools can be found in the right menu on this page).

If you want to go through this example, you'll find it under JSP Element action.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.