Here you go Saritha,
<how to create a cookie>
Cookie c = new Cookie("name", "value");//creats the cookie with a name value
pair
c.setMaxAge(30*24*60*60); // in seconds
c.setPath("/");//sets the cookie to be sent with every request from
this domain
resp.addCookie(c);//adds the cookie to the response objct
</how to create a cookie>
Matt Goss
SarithaB wrote:
> Hai,
> i want to include the Servlet Cookie in our running Tomcat webserver how to
> do configure it.
>
> Saritha
begin:vcard
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
url:www.rtci.com
org:RTCI;Custom Solutions
adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Developer
fn:Matt
end:vcard