HttpServlet provides doGet(), doPost(), doHead(), doPut(), doDelete(), doOptions(), doTrace(), and do methods for other HTTP verbs. These are the standard service methods you override to handle specific HTTP request types. doError() is not a valid HttpServlet method - error handling is done through HttpServletResponse.sendError() or error-page configuration.