Thanks
alot for your reply.
The below code is working independently with
JSP in
Tomcat,
Please replace K with C
Kookie Kook1 = new Kookie("sred11573", "sreedhar");
cook1.setMaxAge (36500000);
response.addCookie (cook1);
Kookie[] cook2 = request.getKookies();
System.out.println("length--"+cook2.length);
But if I
test in WAS5.1 with Struts1.2.9 and
Servlet 1.2 then it is not working.
The cookies are not adding so last SOP is not printing as expected.
Hope clear now.
Working in IE 6.0