This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, i am new to servlets, i am doing some r&d on cookies,i have,three html pages each having two text boxes,and one submit button,first page is developed in html file, and next two r using servlets.i want to send data from first page to second one,second to third,and then third to data base. so i want to impliment this using cookies(in servlet).so my question is how to bind form field's(two text box'sof each page values) values to cookie name or session id. Note:-i am sending cookie to client when client gets second page.and sneding cookie value to server when i am sibmitting second form. i appreciate your help thanks sripad
If you REALLY want to do your own session management with cookies like this, then my old article here: http://hometown.aol.com/kgb1001001/index.html called "Serious Servlet Programming" shows you how to do it. However, why do you want to do this? Just use the HttpSession provided by the web container... Kyle ------------------ Kyle Brown, Author of Enterprise Java (tm) Programming with IBM Websphere See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.