Answer Posted / anji87543
<%
Cookie mycookie = new Cookie("aName","aValue");
response.addCookie(mycookie);
%>
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is Include directive?
Explain static method?
What is the resourcebundle class in jsp?
Which jsp method cannot be overridden?
How can I declare methods within my jsp page?
What is < jsp:forward> tag for?
How to create menu in jsp with example?
What is the use of session management?
Explain the various scope values for
Explain the difference between servlet and jsp?
What does .com stand for?
What are the elements of jsp?
Can we use jsp implicit objects in a method defined in jsp declaration?
Can we use javascript with jsp pages?
Can I declare a java class in jsp?