What are setComment and getComment methods in Cookies?
Answers were Sorted based on User's Feedback
Answer / 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 |
thay are used to get and the comments in cookies.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the type of protocols used in httpservlet?
how the HTML data stored in web server?
What is the capacity that doGet method can send to the server?
How multiple simultaneous requests can be handled by servlets?
what is servlet and what you get when we use servlets?
Who is responsible for writing a constructor?
What is servlet context ?
What is the default HttpRequest method?
What is URL Rewriting ?
How does java thread pool work?
What are the features added in Servlet 2.5?
Which is the methods of generated servlet?