You should extend ActionServlet for the Reverse2
servlet assignment. You've already used HttpServlet for the first 2 servlets assignments. Nothing new to see there. ActionServlet extends HttpServlet. You can look at the source code to see how, and you can ask questions here.