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 war file?
How can the session in servlet can be destroyed?
Explain servlet events?
What is the need of session tracking in web application?
What’s the difference between forward() and sendredirect() methods?
Differentiate between the get and post method
What do you mean by filter in servlet?
What if we pass negative value in load-on-startup?
What is context in servlet?
How can we perform any action at the time of deploying the project?
What is the purpose of requestdispatcher interface?
What is MIME Type?
What is the difference between Servlets and Applets?
How native code can be used in a servlet?
What is the use of send redirect () method?