Thanks Steve.
I tried as follows in site 1
Cookie targCokk = new Cookie("xxx_ID","APP_1");
response.addCookie( targCokk );
targCokk.setPath("/");
response.sendRedirect("http://localhost:8080/App2Log/login");
In site 2 action, I tried to retrive cookies set by site 1 as follows.
Cookie[] cookieArr = request.getkookies();
int i = 0;
while( cookieArr!=null && i < cookieArr.length ){
Cookie cokieObj = cookieArr[i];
System.out.println( cokieObj.getName()+"=" + cokieObj.getValue() );
i++;
}
I enabled cookies on my browser..
But Cookies from site 1 are not getting passed to site 2.
Please..Please..Please help me on this..