isAutoFlush()
This method indicates whether the JspWriter is autoFlushing.
The method signature is 
boolean isAutoFlush()
6.1.3
JspException and JspError
JspException is a generic exception class.  It currently has one subclass: JspError.  A 
JspError has a message and it reflects an unexpected error that has been found during the 
execution of a JSP page.  If uncaught, the error will result in an invocation of the errorpage 
machinery.
6.1.4
PageContext
A 
PageContext
 provides an object that encapsulates implementation dependent features 
and provides convenience methods. A JSP page implementation class that uses a 
PageContext
 as shown in 
FIGURE F 1
 will run unmodified in any compliant JSP container 
taking advantage of implementation specific improvements like high performance 
JspWriter
s. JSP 1.1 compliant containers must generate JSP page implementation classes 
that use this 
PageContext
 object to provide insulation from platform implementation 
details.
A 
PageContext
 object is initialized by a JSP container implementation early on in the 
processing of the 
_jspService()
 method. The 
PageContext
 implementation itself is 
implementation dependent, and is obtained via a creation method on the 
JspFactory
.
The 
PageContext
 provides a number of facilities, including:
a single API that manages the operations available over various scope namespaces 
(
page, request, session, application
) such as 
setAttribute()
, 
getAttribute()
 and 
removeAttribute(),
 etc.
a mechanism for obtaining a platform dependent implementation of the 
JspWriter
 that 
is assigned to the  
out
  implicit scripting variable.
a number of simple convenience 
getter
 API's for obtaining references to various request 
time objects. 
mechanisms to 
forward
 or 
include
 the current request being processed to other 
components in the application
6.1.4.1
Creation
The PageContext class is an abstract class, designed to be extended by conforming JSP 
container runtime environments to provide implementation dependent implementations.
117
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.