Next

JavaServer Pages (JSP) v1.2  Syntax Reference

<jsp:root>

Defines standard elements and namespace attributes of tag libraries.

Hidden Comment

Documents the JSP page but is not inserted into the response.

Declaration

Declares a variable or method valid in the scripting language used in the page.

Expression

Contains an expression valid in the scripting language used in the page.

Scriptlet

Contains a code fragment valid in the scripting language used in the page.

<jsp:text>

Encloses template data.

Include Directive

Includes a resource of text or code when the JSP page is translated.

Page Directive

Defines attributes that apply to an entire JSP page.

Taglib Directive

Defines a tag library and prefix for the custom tags used in the JSP page.

<jsp:forward>

Forwards a request to an HTML file, JSP page, or servlet.

<jsp:getProperty>

Inserts the value of a bean property into the response.

<jsp:include>

Includes a static resource or the result from another web component

<jsp:plugin>

Causes the execution of an applet or bean. The applet or bean executes in the specified plugin.

If the plugin is not available, the client displays a dialog to initiate the download of the plugin software.

<jsp:setProperty>

Sets a bean property value or values.

<jsp:useBean>

Instantiates or references a bean with a specific name and scope.


Next

Copyright © 2002, Sun Microsystems, Inc. All rights reserved.