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 can we retrieve the values in jsp by using custom tags
What jsp lifecycle methods can I override?
how to pass values to a function fron input tags, and how to display that values in that called function
Define Static Block.
Why is _jspservice () method starting with an '_'?
What is scriptlet tag?
What is difference between sendredirect and forward?
Define Composition.
Explain the <jsp:param> action?
What is session getattribute in jsp?
What are the events in jsp page?
What program opens a jsp file?