File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes declare cookies in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "declare cookies in jsp" Watch "declare cookies in jsp" New topic

declare cookies in jsp

Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
Can any one give me an example,How can I declare cookies in Jsp
and what is the exact difference between the cookies and session

Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
Bharath Reddy G V

Joined: Nov 19, 2003
Posts: 2
The following link can help U understand the Cookie usage in JSP
jyothsna kumari
Ranch Hand

Joined: Jul 21, 2003
Posts: 108
session variables are something which will remain only till the end of the aplication(if they are not killed in the middle).kookies are used to store the data permanently so that when ever u call them data is available.
I agree. Here's the link:
subject: declare cookies in jsp
jQuery in Action, 3rd edition