What are setComment and getComment methods in Cookies?
Answer Posted / satendra
getComment() : Returns the comment describing the purpose of
this cookie, or null if no such comment has been defined.
and setComment() is used to provide description about cookie.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are the functions of an intercepting filter?
What do you mean by cgi?
Explain request dispatcher and its methods.
What do you mean by singlethreadmodel interface?
Can servlet have a constructor ?
What are the different methods involved in the process of session management in servlets?
What are advantages of servlets over cgi?
What do you understand by mime type?
How do I use cookies to store session state on the client?
How can we refresh automatically when new data has entered the database?
What is the purpose of inter-servlet communication?
Why servlet is mostly used?
What is the difference between the http servlet and generic servlet?
Explain the concept of ssi ?
How to handle exceptions thrown by application with another servlet?