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
How does a jsp engine work?
Mention the jstl core tags.
How do you delete a cookie within a jsp?
How does error handling occur with jstl?
how to write the code of jsp program?
Can we override the jspinit(), _jspservice() and jspdestroy() methods?
How can we use beans in jsp?
What is jsp translation time?
Can we use jsp implicit objects in a method defined in jsp declaration?
What is out in jsp?
Which categories can be divided jstl tags, give examples.
Why is jsp used for?
How do I prevent the output of my jsp or servlet pages from being cached by the browser?
Can we call servlet from jsp?
What is a translation unit?