hey Harish
cookies isnt the way
you should implement session management coz the data is stored on the client side.
its a good practice to use Session objects.
lets say u have 2 jsp files, in the first jsp page u store information and in the next jsp page u want to retrieve that info.
first jsp
<%
session.setAttribute("userid", "harish");
%>
in jsp session is an implicit object avialable to use just like request and response.
now u have placed an object in session. u can access this object anywhere in your project.
so to get that object back in next page
second jsp
<%
String userid = (String) session.getAttribute("userid");
%>
note getAttribute will return an Object type, so u have to typecast it.
if u still need more info let me know
Vivek