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 the servletconfig object?
What is servlet mapping?
My Question is that i am using <image> tag in my servlet and after compilation after that calling by url in my browser then images are not showing. Sometime images are showing and sometime is not showing. I am using Tomcat to run my servlets. Tell me if there any specification for image in servlets or what is solution for this ??
Can we override the ActionServlet?
3 Answers ArisGlobal, HCL, PPF,
What is the difference between the servlets and cgi programs?
What is servlet? Explain
How is the get () method different from the post() method?
Is it possible to have a constructor inside the servlet?
Does servlet have main method?
What is meant by servlet? What are the parameters of the service method?
What are the ways to handle multi-threading in servlets?
Why do we have servlet listeners?