> -----Original Message----- > From: Yadav, Ganesh [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 11:00 AM > To: [EMAIL PROTECTED] > Subject: how to save last 5 searches in the cookie? > > > Hello All. > > I have a requirement to save last 5 searches in the cookie. > > In other words, saving last 5 set of "search param- value" pairs in > cookie. > > Retrieve them and show these 5 searches in Combo box. So whenever user > select one, he should have his search screen params filled up from the > cookie values stored. > > > > Can some one guide me on this as to how I can get this done?
Creating and storing cookies in JSP/Servlets can be found here: http://java.sun.com/webservices/docs/1.4/api/javax/servlet/http/Cookie.html Which is actually the cookie class, and the doc shows you how to add it to the request. If you want me to write the code for you, that's $50.00US/hour, and a 4 hour minimum charge. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]