Use static variables on servlets

Use static variables on servlets