Package | Description |
---|---|
javax.servlet | |
javax.servlet.http | |
javax.servlet.jsp |
Modifier and Type | Class | Description |
---|---|---|
class |
UnavailableException |
Defines an exception that a servlet throws to indicate
that it is permanently or temporarily unavailable.
|
Modifier and Type | Method | Description |
---|---|---|
void |
RequestDispatcher.forward(ServletRequest request,
ServletResponse response) |
Forwards a request from
a servlet to another resource (servlet, JSP file, or
HTML file) on the server.
|
Servlet |
ServletContext.getServlet(java.lang.String name) |
|
void |
RequestDispatcher.include(ServletRequest request,
ServletResponse response) |
Includes the content of a resource (servlet, JSP page,
HTML file) in the response.
|
void |
GenericServlet.init() |
A convenience method which can be overridden so that there's no need
to call
super.init(config) . |
void |
GenericServlet.init(ServletConfig config) |
Called by the servlet container to indicate to a servlet that the
servlet is being placed into service.
|
void |
Servlet.init(ServletConfig config) |
Called by the servlet container to indicate to a servlet that the
servlet is being placed into service.
|
abstract void |
GenericServlet.service(ServletRequest req,
ServletResponse res) |
Called by the servlet container to allow the servlet to respond to
a request.
|
void |
Servlet.service(ServletRequest req,
ServletResponse res) |
Called by the servlet container to allow the servlet to respond to
a request.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
HttpServlet.doDelete(HttpServletRequest req,
HttpServletResponse resp) |
Called by the server (via the
service method)
to allow a servlet to handle a DELETE request. |
protected void |
HttpServlet.doGet(HttpServletRequest req,
HttpServletResponse resp) |
Called by the server (via the
service method) to
allow a servlet to handle a GET request. |
protected void |
HttpServlet.doOptions(HttpServletRequest req,
HttpServletResponse resp) |
Called by the server (via the
service method)
to allow a servlet to handle a OPTIONS request. |
protected void |
HttpServlet.doPost(HttpServletRequest req,
HttpServletResponse resp) |
Called by the server (via the
service method)
to allow a servlet to handle a POST request. |
protected void |
HttpServlet.doPut(HttpServletRequest req,
HttpServletResponse resp) |
Called by the server (via the
service method)
to allow a servlet to handle a PUT request. |
protected void |
HttpServlet.doTrace(HttpServletRequest req,
HttpServletResponse resp) |
Called by the server (via the
service method)
to allow a servlet to handle a TRACE request. |
protected void |
HttpServlet.service(HttpServletRequest req,
HttpServletResponse resp) |
Receives standard HTTP requests from the public
service method and dispatches
them to the do XXX methods defined in
this class. |
void |
HttpServlet.service(ServletRequest req,
ServletResponse res) |
Dispatches client requests to the protected
service method. |
Modifier and Type | Method | Description |
---|---|---|
void |
HttpJspPage._jspService(HttpServletRequest request,
HttpServletResponse response) |
_jspService corresponds to the body of the JSP page.
|
abstract void |
PageContext.forward(java.lang.String relativeUrlPath) |
This method is used to re-direct, or "forward" the current ServletRequest and ServletResponse to another active component in the application.
|
abstract void |
PageContext.handlePageException(java.lang.Exception e) |
This method is intended to process an unhandled "page" level exception
by redirecting the exception to either the specified error page for this
JSP, or if none was specified, to perform some implementation dependent
action.
|
abstract void |
PageContext.include(java.lang.String relativeUrlPath) |
Causes the resource specified to be processed as part of the current
ServletRequest and ServletResponse being processed by the calling Thread.
|
Copyright © 1999-2000 The Apache Software Foundation. All Rights Reserved.