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 are different Authentication options available in Servlets.
How to handle exceptions thrown by application with another servlet?
Explain how does JSP handle run-time exceptions?
What is ServletContext object?
Why do we have servlet wrapper classes?
What is servlet in simple terms?
What do you mean by web applications?
How do you design microservices?
Which protocol will be used by browser and servlet to communicate
What are Servlets?
Is that servlet is pure java object or not?
Differentiate between the web server and application server?
Can filter be used as request or response?
What is MIME Type?
Explain the difference between a web server and a web container?