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 |
Is servlet a framework?
How can the session in servlet can be destroyed?
Explain url encoding?
What is session tracking?
Can we use javascript in Servlets?
Write a command to get actual path of a servlet to the server?
Who is responsible to create the object of servlet?
What is Servlet Context?
What is the use of welcome-file-list?
What if we pass negative value in load-on-startup?
What are the uses of servlet
when the webcontainer creates ServeletConfig,ServletContext objects? befoure creating the Servlet object or not?