Uses of Class
javax.servlet.ServletException
Packages that use ServletException
-
Uses of ServletException in javax.servlet
Subclasses of ServletException in javax.servletModifier and TypeClassDescriptionclass
Defines an exception that a servlet or filter throws to indicate that it is permanently or temporarily unavailable.Methods in javax.servlet that throw ServletExceptionModifier and TypeMethodDescriptionvoid
Filter.doFilter
(ServletRequest request, ServletResponse response, FilterChain chain) ThedoFilter
method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.void
FilterChain.doFilter
(ServletRequest request, ServletResponse response) Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.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.ServletContext.getServlet
(String name) Deprecated.As of Java Servlet API 2.1, with no direct replacement.void
RequestDispatcher.include
(ServletRequest request, ServletResponse response) Includes the content of a resource (servlet, JSP page, HTML file) in the response.void
Filter.init
(FilterConfig filterConfig) Called by the web container to indicate to a filter that it is being placed into service.void
GenericServlet.init()
A convenience method which can be overridden so that there's no need to callsuper.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. -
Uses of ServletException in javax.servlet.http
Methods in javax.servlet.http that throw ServletExceptionModifier and TypeMethodDescriptionprotected void
HttpServlet.doDelete
(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservice
method) to allow a servlet to handle a DELETE request.protected void
HttpServlet.doGet
(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservice
method) to allow a servlet to handle a GET request.protected void
HttpServlet.doHead
(HttpServletRequest req, HttpServletResponse resp) Receives an HTTP HEAD request from the protectedservice
method and handles the request.protected void
HttpServlet.doOptions
(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservice
method) to allow a servlet to handle a OPTIONS request.protected void
HttpServlet.doPost
(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservice
method) to allow a servlet to handle a POST request.protected void
HttpServlet.doPut
(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservice
method) to allow a servlet to handle a PUT request.protected void
HttpServlet.doTrace
(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservice
method) to allow a servlet to handle a TRACE request.protected void
HttpServlet.service
(HttpServletRequest req, HttpServletResponse resp) Receives standard HTTP requests from the publicservice
method and dispatches them to thedo
XXX methods defined in this class.void
HttpServlet.service
(ServletRequest req, ServletResponse res) Dispatches client requests to the protectedservice
method. -
Uses of ServletException in javax.servlet.jsp
Methods in javax.servlet.jsp that throw ServletExceptionModifier and TypeMethodDescriptionvoid
HttpJspPage._jspService
(HttpServletRequest request, HttpServletResponse response) The _jspService()method corresponds to the body of the JSP page.abstract void
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
(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.handlePageException
(Throwable t) This method is identical to the handlePageException(Exception), except that it accepts a Throwable.abstract void
Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread.