How to set a cookie in JSP?
Answers were Sorted based on User's Feedback
Answer / venkat
<%
Cookie mycookie = new Cookie("aName","aValue");
response.addCookie(mycookie);
%>
| Is This Answer Correct ? | 18 Yes | 2 No |
Answer / anji87543
<%
Cookie mycookie = new Cookie("aName","aValue");
response.addCookie(mycookie);
%>
| Is This Answer Correct ? | 5 Yes | 2 No |
What is the need for jsp?
Which is best centre in chennai.. i am wil study to java... pls help me..
How can we extend jsp technology?
How do I set password expire time period?
How to include static files in a jsp?
Explain the difference between include directive and include action in jsp?
What jsp lifecycle methods can I override?
How do we print “<br> creates a new line in html” in jsp?
What are the life-cycle methods for a jsp?
Explain the jsp:setProperty action.
Mention some important jsp action tags.
Can init method be overridden?