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 you include the results of another page?
What is the difference between <jsp:forward> and sendRedirect?
Explain the difference between servlet and jsp?
how to insert star image and need to rate it.. one star two star so on how to do in jsp...????
List down the major differences between the jsp custom tags and java beans.
how to make a jsp page threadsafe?
What is a page directive?
What is jsp translation phase?
What is expression language in jsp?
Which tag should be used to pass information from jsp to include jsp?
What is difference between java and jsp?
hi i m tannu and i m developing one web site as my project and i have created one chatting application using applet and socket it run perfactly using netbeans5.5 and appletviewer but when i run on browser it doent run i put it class file in jar file then call by jsp when it load in browser it stop on applet started plz help me soon