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 |
Explain the uses of <jsp:usebean> tag.
What is the difference between a jspwriter and a servlet printwriter?
why JSP is bigger choice for software development as compare to ASP.
What is contextpath?
Can we override the jspinit(), _jspservice() and jspdestroy() methods?
mention the three important tags used in the development of jsp bean.
Give the use of session object.
Is jsp used?
Is there a way I can set the inactivity lease period on a per-session basis?
What is jstl (jsp standard tag library)?
how the jsp file is compiled?
4 Answers College School Exams Tests, Persistent,
What is difference between jspwriter and servlet printwriter?