Java Reference
In-Depth Information
It returns this value:
javax.servlet.http.HttpSession
The handlePageException() Method
public abstract void handlePageException(java.lang.Exception e)
throws javax.servlet.ServletException,
java.io.IOException
The handlePageException() method is intended to process an un-handled “page” level excep-
tion by redirecting the exception to either the specified error page for this JSP, or if none was
specified, to perform some implementation dependent action. This method returns no value.
It has one parameter:
java.lang.Exception
It throws these exceptions:
javax.servlet.ServletException
java.io.IOException
The include() Method
public abstract void include(java.lang.String relativeUrlPath)
throws javax.servlet.ServletException,
java.io.IOException
The include() method causes the resource specified to be processed as part of the current
ServletRequest and ServletResponse being processed by the calling Thread . The output of
the target resource's processing of the request is written directly to the ServletResponse out-
put stream.
The current JspWriter “out” for this JSP is flushed as a side-effect of this call, prior to pro-
cessing the include.
It is only valid to call this method from a Thread executing within a _jspService() method of
a JSP. This method returns no value.
It has one parameter:
java.lang.String
It throws these exceptions:
javax.servlet.ServletException
java.io.IOException
Search WWH ::




Custom Search