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
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What do you mean by web applications? Explain web application directory arrangement?
Why do we have servlet filters?
Explain the differences between jsp and servlet.
What is the difference between Difference between doGet() and doPost()?
What is meant by Servlet? What are the parameters of service method?
What is meant by a web application
How would you create deadlock on your servlet?
What are the common methods that are included in the http servlet class?
If servlet receives multiple requests, how many objects will it create?
what is multiple server?
When Servlet is unloaded?
What's the architecture of a servlet package?
Explain the difference between generic servlet and http servlet?
How can you run a servlet program?