use params in GeneratorServlet