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 different methods involved in generic servlet?
How do you find out what client machine is making a request to your servlet
Why is Servlet so popular?
What is string tokenizer?
Explain the war file?
What are the advantages of Servlet over CGI?
What are the different methods involved in the process of session management in servlets?
If some new data has entered the database, explain how can a servlet refresh automatically?
How can we refresh automatically when new data is entered into the database?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What do you mean by httpservlet?
What are the objects involved when a servlet receives a call from client?
How are filters?
Difference between java beans & servlets?
Are Servlets Thread Safe? How to achieve thread safety in servlets?