What are setSecure() and getSecure() methods in Cookies?
Answer / harikrishna ravada
setSecure:
Indicates to the user agent that the cookie should only be
sent using a secure protocol (https). This should only be
set when the cookie's originating server used a secure
protocol to set the cookie's value.
public void setSecure(boolean flag)
getSecure:
Returns the value of the 'secure' flag.
public boolean getSecure()
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the difference between the include() and forward() methods?
What is servlet container?
What is the use of httpservletrequestwrapper?
How to handle the debug errors in servlets?
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 ??
difference between sendredirect,forward and url rewritting
What is the difference between Difference between doGet() and doPost()?
What is java servlet session?
What is use of parseQueryString?
What is context in servlet?
which type of data passing is used in realtime?
What is the use of httpservletresponsewrapper?