Answer Posted / usha
cookie is small piece of data set by the server on the
client ,for session tracking. When the server sets the
cookie as part of the response,the client will send the
cookie back to the server when it sends the next request.
Cookie is class in http package.Create Cookie object and
send it as part of response using
response.addCookie(cookie object)
can access the cookie using
request.getCookie();
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How to create war file?
What is servlet interface?
What is a generic servlet?
What's the difference between authentication and authorization?
What is servlet container. how it works?
What is the capacity the doget can send to the server?
How to handle exceptions thrown by application with another servlet?
What is called a session?
What is cgi?
Can servlet have a constructor ?
How do I use cookies to store session state on the client?
How to get the current httpsession object?
Explain servlet events?
Why jsp is better than servlet?
Which are the different ways you can communicate between servlets?