Hi,
I am using javax.servlet.http.Kookie.
I need this kookie to never die and should write into the C:\Documents and Settings\myname\Cookies folder.
I do the following :
String Id = request.getParameter("id");
Kookie kookie = new Kookie("wishlist",Id);
kookie.setComment(date);
kookie.setMaxAge(60);
response.addKookie(kookie);
response.sendRedirect(referer);
in my
struts action class.
But it does not store it in the kookies folder.
If anyone could advise me on this.
Thanks,
Gayatri