Next

JavaServer PagesTM v1.1
Syntax Reference


HTML Comment

Generates a comment that can be viewed in the HTML source file.

Hidden Comment

Documents the JSP page but is not sent to the client.

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.

Include Directive

Includes a file 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 client request to an HTML file, JSP file, or servlet for processing.

<jsp:getProperty>

Gets the value of a bean property so that you can display it in a JSP page.

<jsp:include>

Sends a request to an object and includes the result in a JSP file.

<jsp:plugin>

Downloads a Java plugin to the client Web browser to execute an applet or bean.

<jsp:setProperty>

Sets a property value or values in a bean.

<jsp:useBean>

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



Next

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