Uses of Class
javax.servlet.ServletException
-
Packages that use ServletException Package Description javax.servlet javax.servlet.http javax.servlet.jsp -
-
Uses of ServletException in javax.servlet
Subclasses of ServletException in javax.servlet Modifier and Type Class Description classUnavailableExceptionDefines an exception that a servlet throws to indicate that it is permanently or temporarily unavailable.Methods in javax.servlet that throw ServletException Modifier and Type Method Description voidRequestDispatcher. forward(ServletRequest request, ServletResponse response)Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.ServletServletContext. getServlet(java.lang.String name)voidRequestDispatcher. include(ServletRequest request, ServletResponse response)Includes the content of a resource (servlet, JSP page, HTML file) in the response.voidGenericServlet. init()A convenience method which can be overridden so that there's no need to callsuper.init(config).voidGenericServlet. init(ServletConfig config)Called by the servlet container to indicate to a servlet that the servlet is being placed into service.voidServlet. init(ServletConfig config)Called by the servlet container to indicate to a servlet that the servlet is being placed into service.abstract voidGenericServlet. service(ServletRequest req, ServletResponse res)Called by the servlet container to allow the servlet to respond to a request.voidServlet. 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 ServletException Modifier and Type Method Description protected voidHttpServlet. doDelete(HttpServletRequest req, HttpServletResponse resp)Called by the server (via theservicemethod) to allow a servlet to handle a DELETE request.protected voidHttpServlet. doGet(HttpServletRequest req, HttpServletResponse resp)Called by the server (via theservicemethod) to allow a servlet to handle a GET request.protected voidHttpServlet. doOptions(HttpServletRequest req, HttpServletResponse resp)Called by the server (via theservicemethod) to allow a servlet to handle a OPTIONS request.protected voidHttpServlet. doPost(HttpServletRequest req, HttpServletResponse resp)Called by the server (via theservicemethod) to allow a servlet to handle a POST request.protected voidHttpServlet. doPut(HttpServletRequest req, HttpServletResponse resp)Called by the server (via theservicemethod) to allow a servlet to handle a PUT request.protected voidHttpServlet. doTrace(HttpServletRequest req, HttpServletResponse resp)Called by the server (via theservicemethod) to allow a servlet to handle a TRACE request.protected voidHttpServlet. service(HttpServletRequest req, HttpServletResponse resp)Receives standard HTTP requests from the publicservicemethod and dispatches them to thedoXXX methods defined in this class.voidHttpServlet. service(ServletRequest req, ServletResponse res)Dispatches client requests to the protectedservicemethod. -
Uses of ServletException in javax.servlet.jsp
Methods in javax.servlet.jsp that throw ServletException Modifier and Type Method Description voidHttpJspPage. _jspService(HttpServletRequest request, HttpServletResponse response)_jspService corresponds to the body of the JSP page.abstract voidPageContext. 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 voidPageContext. 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 voidPageContext. 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.
-