Java Reference
In-Depth Information
T ABLE 14.1
This attribute determines whether the session data
will be available to this page. The default is true .
This attribute determines whether the output stream
is buffered. The default value is 8KB.
buffer=”none| size in kb
This attribute determines whether the output buffer
will be flushed automatically, or whether an excep-
tion will be raised when the buffer is full. The
default is true , which states that the buffer should
be flushed automatically.
This attribute tells the JSP engine that this page can
service more than one request at a time. By default
this value is true ; if false ,the
SingleThreadModel is used.
This attribute represents information about the JSP
page that can be accessed by the page's
Servlet.getServletInfo() method.
info=” text
This attribute represents the relative URL to the JSP
page that will handle exceptions.
errorPage=” error_url
This attribute states whether or not the JSP page is
an errorPage . The default is false .
This attribute represents the MIME type and char-
acter set of the response.
The include Directive
The include directive is used to insert text and/or code at JSP translation time. The syntax of
the include directive is as follows:
<%@ include file=” relativeURLspec ” %>
The file that the file attribute points to can reference a normal text HTML file or it can refer-
ence a JSP file, which will be evaluated at translation time.
Currently the JSP 1.1 specification does not have a defined method for notifying the
JSP engine that the included JSP file has changed.
Search WWH ::

Custom Search