Request parameter in velocity

Hello everybody i write a servlet with an rendered velo. template in the template i would like to get the a request parameter on the first time it works fine but on the second time (when i reload the servlet)nothing happens
Here is my somebody knows what went wrong?
localhost:1990/confluence/plugins/servlet/mygroup?project=TES

$req.getParameter('project')
....

thats how i render my template from the servlet

html = VelocityUtils.getRenderedTemplate("manageGroups.vm", test);