Name
Page Directive
Synopsis
Defines page-dependent attributes, such as scripting language, error page, and buffering requirements.
Syntax
<@ page [autoFlush="true|false"] [buffer="8kb|NNkb|none"] [contentType="mimeType"] [errorPage="pageOrContextRelativePath"] [extends="className"] [import="packageList"] [info="info"] [isErrorPage="true|false"] [isThreadSafe="true|false"] [language="java|language"] [pageEncoding="encoding"] [session="true|false" %>
Attributes
|
Attribute name |
Default |
Description |
|---|---|---|
autoFlush |
|
Set to |
buffer |
8kb |
Specifies the buffer size for the page. The value must be expressed
as the size in kilobytes followed by |
contentType |
|
The MIME type for the response generated by the page and optionally
the response charset, e.g.,
The default MIME type is If no charset is specified, ISO-8859-1 is used for a regular JSP page and UTF-8 for a JSP Document. |
errorPage |
No default |
A page- or context-relative URI path for the JSP page, servlet, or static page to forward to in case an exception is thrown by code in the page. |
extends |
No default |
The fully qualified name of a Java class the ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access