i have set a cookie in php file and now want to get it thru servlet.it does not return anything.but if i call a php file cookie value is returned.
php code is $HTTP_COOKIE_VARS["zUID"];
servlets coding is
Cookie c[]=req.getCookies();
if(c!=null)
{ out.println("hello1dwfsdfsd231");
for(int i=0;i<c.length;i++)
{
login=c[i].getName();
out.println(login);
}
}