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 |
How to send data from jsp to jsp?
What is application in jsp?
how can i update the marque in jsp without changing the sourse code
How to include static files in a jsp?
How do I set password expire time period?
Can a constructor be used in place of init() method to initialize a servlet?
What is the difference between server side and client side programming?
How to create menu in jsp with example?
What is jstl jar?
What are the different life-cycle methods?
List all tags that are provided in jstl?
What is the use of session management?