import
An import attribute describes the types that are available to the
scripting environment. The value is as in an import declaration in the
Java programming language, i.e. a (comma separated) list of either a
fully qualified Java programming language type name denoting that
type, or of a package name followed by the .* string, denoting all
the public types declared one in that package. The import list shall be
imported by the translated JSP page implementation and are thus
available to the scripting environment.
The default import list is
java.lang.*
,
javax.servlet.*
,
javax.servlet.jsp.*
and
javax.servlet.http.*
.
This value is currently only defined when the value of the
language
directive is
java
.
session
Indicates that the page requires participation in an (http) session.
If
true
then the implicit script language variable named
session
of type
javax.servlet.http.HttpSession
references the current/new session for the page.
If
false
then the page does not participate in a session; the
session
implicit variable is unavailable, and any reference to it
within the body of the JSP page is illegal and shall result in a fatal
translation error.
Default is
true
.
buffer
Specifies the buffering model for the initial
out
JspWriter
to
handle content output from the page.
If
none
, then there is no buffering and all output is written directly
through to the
ServletResponse PrintWriter
.
If a buffer size is specified (e.g
12kb
) then output is buffered with a
buffer size not less than that specified.
Depending upon the value of the
autoFlush
attribute, the contents
of this buffer is either automatically flushed, or an exception is raised,
when overflow would occur.
The default is buffered with an implementation buffer size of not less
than
8kb
.
autoFlush
Specifies whether the buffered output should be flushed automatically
(
true
value) when the buffer is filled, or whether an exception
should be raised (
false
value) to indicate buffer overflow.
The default is
true
.
Note: it is illegal to set
autoFlush
to
false
when
buffer=none
.
45
JavaServer Pages 1.1 Specification
November 30, 1999
JSP Web Hosting JavaServer Pages Specifications JSP Hosting
|
|
|
|
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved. |