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 is meant by Transaction Isolation Levels?
What is servlet context ?
Name the webserver that is used to run Servlets?
What is session?
What are important features of Servlet 3?
What are the mechanisms used by a servlet container for maintaining session information?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What is the life-cycle of servlets?
why business logic written using servlets not in jsp. Jsp used for presentation purpose. serlvet used for coding business logic and controller logic. Reason for using servlets in business logic.
How can we perform any action at the time of deploying the project?
What is servlet configuration?
How can the referrer and the target urls be used in servlet?