Class 2 |
Intermediate Java 30-IT-397 |
|
JSP Directives
-
Use <%@ %>
-
Three types of directives:
-
page: import classes, set content type, etc.
-
Allows you to define import, contentType, isThreadSafe, session, buffer,
autoflush, extends, info, errorPage, isErrorPage, language.
-
include: Allows you to include other files in the servlet class
at compile time.
-
Put the include statement at the point in the document where you wish to
include the file.
-
taglib: Allows you to define custom tags.
The import Attribute

Created by: Brandan Jones
December 17, 2001