improve HttpServlet