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 is servlet used for?
How would you create deadlock on your servlet?
What are the various ways of session supervision in servlets?
What do you mean by filter in servlet?
Why the container loads server at the application startup and how?
Why do we use sendredirect() method?
Write a command to get actual path of a servlet to the server?
Can you create a deadlock condition on a servlet?
What is preinitialization of a servlet?
request parameter how to find whether a parameter exists in the request object?
What is the directory structure of web application?
What are sessions in servlets?
What is ServletConfig object?
What is the purpose of requestdispatcher interface?
What is servlet and how it works?