Two service methods in HttpServlet class